Improved logging clarity in storage operations
This commit is contained in:
parent
6b0acce644
commit
14e1b31d1c
2 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ class JsonDocStatusStorage(DocStatusStorage):
|
|||
async def upsert(self, data: dict[str, dict[str, Any]]) -> None:
|
||||
if not data:
|
||||
return
|
||||
logger.info(f"Inserting {len(data)} to {self.namespace}")
|
||||
logger.info(f"Inserting {len(data)} records to {self.namespace}")
|
||||
async with self._storage_lock:
|
||||
self._data.update(data)
|
||||
await set_all_update_flags(self.namespace)
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ class JsonKVStorage(BaseKVStorage):
|
|||
async def upsert(self, data: dict[str, dict[str, Any]]) -> None:
|
||||
if not data:
|
||||
return
|
||||
logger.info(f"Inserting {len(data)} to {self.namespace}")
|
||||
logger.info(f"Inserting {len(data)} records to {self.namespace}")
|
||||
async with self._storage_lock:
|
||||
self._data.update(data)
|
||||
await set_all_update_flags(self.namespace)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue