type error fix : remote ttl

This commit is contained in:
Chuck
2025-07-22 16:48:38 -05:00
parent f3201adc05
commit 442dd929e6
2 changed files with 7 additions and 3 deletions

View File

@@ -376,7 +376,11 @@ class CacheManager:
def set(self, key: str, data: Dict) -> None:
"""Store data in cache with current timestamp."""
self.save_cache(key, data)
cache_data = {
'data': data,
'timestamp': time.time()
}
self.save_cache(key, cache_data)
def setup_persistent_cache(self) -> bool:
"""