Skip to content
Snippets Groups Projects
Commit 5e0f6c8b authored by Robert Goldmann's avatar Robert Goldmann
Browse files

BaseUtils: v1.6.5; update settings fore cache entry one fetch

parent f251c96e
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ class MultiCacheKeyService(ABC):
self._cache[cacheKey] = CacheEntry(cacheKey, fetchIntervalInSeconds, settings, 0, {})
cacheEntry = self._cache[cacheKey]
cacheEntry.settings = settings
if self.__is_data_obsolete(cacheEntry):
cacheEntry.cachedData = self._fetch_data(cacheEntry.settings)
cacheEntry.lastFetchTimestamp = datetime.now().timestamp()
......
......@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name='TheCodeLabs-BaseUtils',
packages=['TheCodeLabs_BaseUtils'],
version='1.6.4',
version='1.6.5',
license='MIT',
description='Useful python classes',
author='TheCodeLabs',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment