Release 64fb959abbe7c435891f76f919b7dbf1
This commit is contained in:
parent
c0a8e32b60
commit
382e029b83
@ -244,8 +244,10 @@ class property_cache_pickle(object):
|
||||
logger.debug('Loading all data from source - %s', repr(self._source_instance.keys()))
|
||||
for key in self._source_instance.keys():
|
||||
if key not in self._source_get_keys:
|
||||
self._cached_props[self.DATA_TAG][self._key_filter(key)] = self._source_instance.get(key)
|
||||
self._cached_props[self.AGE_TAG][self._key_filter(key)] = int(time.time())
|
||||
data = self._source_instance.get(key)
|
||||
if data is not None:
|
||||
self._cached_props[self.DATA_TAG][self._key_filter(key)] = data
|
||||
self._cached_props[self.AGE_TAG][self._key_filter(key)] = int(time.time())
|
||||
time.sleep(sleep_between_keys)
|
||||
|
||||
def _save_only(self):
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user