From 26e44d9b32948693a035bea5cb31134526e01fe3 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Fri, 17 Feb 2017 08:21:06 -0500 Subject: Bumping base cache numbers for master (#5451) --- store/sql_user_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'store/sql_user_store.go') diff --git a/store/sql_user_store.go b/store/sql_user_store.go index 7ca33fd78..68c1ffec7 100644 --- a/store/sql_user_store.go +++ b/store/sql_user_store.go @@ -19,9 +19,9 @@ import ( const ( MISSING_ACCOUNT_ERROR = "store.sql_user.missing_account.const" MISSING_AUTH_ACCOUNT_ERROR = "store.sql_user.get_by_auth.missing_account.app_error" - PROFILES_IN_CHANNEL_CACHE_SIZE = 5000 + PROFILES_IN_CHANNEL_CACHE_SIZE = model.CHANNEL_CACHE_SIZE PROFILES_IN_CHANNEL_CACHE_SEC = 900 // 15 mins - PROFILE_BY_IDS_CACHE_SIZE = 20000 + PROFILE_BY_IDS_CACHE_SIZE = model.SESSION_CACHE_SIZE PROFILE_BY_IDS_CACHE_SEC = 900 // 15 mins USER_SEARCH_OPTION_NAMES_ONLY = "names_only" USER_SEARCH_OPTION_NAMES_ONLY_NO_FULL_NAME = "names_only_no_full_name" -- cgit v1.2.3-1-g7c22