empty disco cache after one minute. Fixes #1329
This commit is contained in:
parent
f6df3bbbee
commit
a5e64ddec9
|
@ -215,8 +215,8 @@ class ServicesCache:
|
||||||
ServiceCache instance.'''
|
ServiceCache instance.'''
|
||||||
def __init__(self, account):
|
def __init__(self, account):
|
||||||
self.account = account
|
self.account = account
|
||||||
self._items = CacheDictionary(15, getrefresh = False)
|
self._items = CacheDictionary(1, getrefresh = True)
|
||||||
self._info = CacheDictionary(15, getrefresh = False)
|
self._info = CacheDictionary(1, getrefresh = True)
|
||||||
self._cbs = {}
|
self._cbs = {}
|
||||||
|
|
||||||
def _clean_closure(self, cb, type, addr):
|
def _clean_closure(self, cb, type, addr):
|
||||||
|
|
Loading…
Reference in New Issue