mirror of
https://github.com/dkmstr/openuds.git
synced 2025-02-03 13:47:14 +03:00
fixed cache in case of use in middle of "lock tables"...
This commit is contained in:
parent
8162230f23
commit
f6d78201cb
@ -74,6 +74,10 @@ class Cache(object):
|
|||||||
Cache.misses += 1
|
Cache.misses += 1
|
||||||
logger.debug('key not found: {}'.format(skey))
|
logger.debug('key not found: {}'.format(skey))
|
||||||
return defValue
|
return defValue
|
||||||
|
except Exception as e:
|
||||||
|
Cache.misses += 1
|
||||||
|
logger.debug('Cache inaccesible: {}:{}'.format(skey, e))
|
||||||
|
return defValue
|
||||||
|
|
||||||
def remove(self, skey):
|
def remove(self, skey):
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user