bring system message checks down to 1 min.

can take ages when at 5 mins
This commit is contained in:
Henry Oswald 2017-02-28 18:53:34 +00:00
parent cf896b5a5d
commit 1a9c035647

View file

@ -23,7 +23,7 @@ module.exports = SystemMessageManager =
clearCache: () ->
delete @_cachedMessages
CACHE_TIMEOUT = 5 * 60 * 1000 # 5 minutes
CACHE_TIMEOUT = 1 * 60 * 1000 # 1 minutes
setInterval () ->
SystemMessageManager.clearCache()
, CACHE_TIMEOUT