mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 23:55:25 +03:00
add debug logging
This commit is contained in:
parent
cbc98c5b46
commit
9fa670dfd1
@ -237,5 +237,8 @@ class EventCleanup(threading.Thread):
|
|||||||
existing_ids = collection.get(ids=chunk, include=[])["ids"]
|
existing_ids = collection.get(ids=chunk, include=[])["ids"]
|
||||||
if existing_ids:
|
if existing_ids:
|
||||||
collection.delete(ids=existing_ids)
|
collection.delete(ids=existing_ids)
|
||||||
|
logger.debug(
|
||||||
|
f"Deleted {len(existing_ids)} embeddings from {collection.__class__.__name__}"
|
||||||
|
)
|
||||||
|
|
||||||
logger.info("Exiting event cleanup...")
|
logger.info("Exiting event cleanup...")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user