mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Update SystemMessageManager.coffee
This commit is contained in:
parent
1a9c035647
commit
8db684bd2d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue