Commit c7d52b6c authored by Yannick's avatar Yannick
Browse files

clean up cache logging

parent 7080eb16
Pipeline #47215 passed with stage
in 33 seconds
......@@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__)
class PartitionsCache:
partitions_cache = TTLCache(maxsize=100, ttl=300)
_id = str(uuid.uuid4())
@staticmethod
def get(data_partition_id: str):
......@@ -15,7 +14,7 @@ class PartitionsCache:
@staticmethod
def set(data_partition_id: str, partition_info):
_LOGGER.info(f"[cache id {PartitionsCache._id}] set in partition cache info for '{data_partition_id}'")
_LOGGER.debug(f"partition info for '{data_partition_id}' put in cache")
PartitionsCache.partitions_cache[data_partition_id] = partition_info
@staticmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment