Agniva De Sarker
1e28ad4a73
MM-21209: Use the LRU cache for UserStore.Get call too ( #13456 )
...
* MM-21209: Use the LRU cache for UserStore.Get call too
We already have userProfileByIdsCache to store the user profiles by Id.
It just wasn't being used for the (*UserStore).Get method. We add a wrapper
method in LocalCacheUserStore to intercept that call and check for the
presence of the user Id in the cache.
There is no need to add any code for invalidation as all of that is already
present.
* Fix nil check for rootstore
* Fix TestUserStore test
Added an invalidate call. The invalidation was being done
from the app level. Hence we have to do it manually here for the test.
2019-12-30 09:22:31 -08:00
..
2019-11-29 12:59:40 +01:00
2019-12-03 18:56:39 +01:00
2019-12-02 15:48:36 +02:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-22 12:35:31 +01:00
2019-12-29 15:30:18 +01:00
2019-11-29 12:59:40 +01:00
2019-12-03 18:56:39 +01:00
2019-12-03 18:56:39 +01:00
2019-12-02 09:30:08 -05:00
2019-12-19 08:53:29 -05:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-03 18:56:39 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-02 15:48:36 +02:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-16 13:57:21 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-12 09:17:31 -05:00
2019-11-29 12:59:40 +01:00
2019-12-22 12:35:31 +01:00
2019-12-16 13:57:21 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-18 15:35:53 -07:00
2019-12-18 15:35:53 -07:00
2019-12-05 22:58:38 +08:00
2019-12-05 22:58:38 +08:00
2019-12-05 22:58:38 +08:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-16 13:57:21 +01:00
2019-12-18 08:54:09 -05:00
2019-12-18 08:54:09 -05:00
2019-11-29 12:59:40 +01:00
2019-12-22 12:35:31 +01:00
2019-12-03 10:52:29 +01:00
2019-12-05 22:58:38 +08:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-10 12:57:54 -04:00
2019-12-10 12:57:54 -04:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-16 13:57:21 +01:00
2019-12-19 17:00:15 +01:00
2019-12-19 17:00:15 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-22 12:35:31 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-24 09:32:11 +01:00
2019-11-29 12:59:40 +01:00
2019-11-28 14:39:38 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-28 14:39:38 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-12 13:45:55 -04:00
2019-12-03 10:46:15 +01:00
2019-12-05 23:41:52 +04:00
2019-11-28 14:39:38 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-12 13:45:55 -04:00
2019-12-24 09:32:11 +01:00
2019-12-22 12:35:31 +01:00
2019-12-12 13:45:55 -04:00
2019-12-22 12:35:31 +01:00
2019-11-29 12:59:40 +01:00
2019-12-02 09:30:08 -05:00
2019-12-03 14:51:50 -05:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-30 09:22:31 -08:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-16 13:57:21 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-02 18:55:34 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-18 08:54:09 -05:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2018-10-15 20:01:35 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-12-22 12:35:31 +01:00
2019-11-29 12:59:40 +01:00
2019-12-24 09:32:11 +01:00
2019-12-24 09:32:11 +01:00
2019-12-24 09:32:11 +01:00
2019-12-24 09:32:11 +01:00
2019-12-24 09:32:11 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00
2019-11-29 12:59:40 +01:00