mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Update SystemMessageManager.coffee
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = SystemMessageManager =
|
||||
clearCache: () ->
|
||||
delete @_cachedMessages
|
||||
|
||||
CACHE_TIMEOUT = 1 * 60 * 1000 # 1 minutes
|
||||
CACHE_TIMEOUT = 20 * 1000 # 20 seconds
|
||||
setInterval () ->
|
||||
SystemMessageManager.clearCache()
|
||||
, CACHE_TIMEOUT
|
||||
, CACHE_TIMEOUT
|
||||
|
||||
Reference in New Issue
Block a user