summaryrefslogtreecommitdiffstats
path: root/store/sql_emoji_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_emoji_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_emoji_store.go')
-rw-r--r--store/sql_emoji_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_emoji_store.go b/store/sql_emoji_store.go
index e2bd00e0f..513cf3c3c 100644
--- a/store/sql_emoji_store.go
+++ b/store/sql_emoji_store.go
@@ -11,7 +11,7 @@ import (
const (
EMOJI_CACHE_SIZE = 5000
- EMOJI_CACHE_SEC = 1800 // 60 mins
+ EMOJI_CACHE_SEC = 1800 // 30 mins
)
var emojiCache *utils.Cache = utils.NewLru(EMOJI_CACHE_SIZE)