summaryrefslogtreecommitdiffstats
path: root/store/sql_file_info_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_file_info_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_file_info_store.go')
-rw-r--r--store/sql_file_info_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_file_info_store.go b/store/sql_file_info_store.go
index b1ad4b11a..c29ac461e 100644
--- a/store/sql_file_info_store.go
+++ b/store/sql_file_info_store.go
@@ -14,7 +14,7 @@ type SqlFileInfoStore struct {
const (
FILE_INFO_CACHE_SIZE = 25000
- FILE_INFO_CACHE_SEC = 900 // 15 minutes
+ FILE_INFO_CACHE_SEC = 1800 // 30 minutes
)
var fileInfoCache *utils.Cache = utils.NewLru(FILE_INFO_CACHE_SIZE)