summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-02-17 08:21:06 -0500
committerJoram Wilander <jwawilander@gmail.com>2017-02-17 08:21:06 -0500
commit26e44d9b32948693a035bea5cb31134526e01fe3 (patch)
treea7b218ecb6548c2af25de4f2f8b13260a86aac6c /store/sql_user_store.go
parentda448cedc8329246e0a4bf027c161dcd15d29a36 (diff)
downloadchat-26e44d9b32948693a035bea5cb31134526e01fe3.tar.gz
chat-26e44d9b32948693a035bea5cb31134526e01fe3.tar.bz2
chat-26e44d9b32948693a035bea5cb31134526e01fe3.zip
Bumping base cache numbers for master (#5451)
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r--store/sql_user_store.go4
1 files changed, 2 insertions, 2 deletions
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"