forked from shaba/openuds
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
|
||||
logger.debug('key not found: {}'.format(skey))
|
||||
return defValue
|
||||
except Exception as e:
|
||||
Cache.misses += 1
|
||||
logger.debug('Cache inaccesible: {}:{}'.format(skey, e))
|
||||
return defValue
|
||||
|
||||
def remove(self, skey):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user