better logging on skipped action

This commit is contained in:
Mikhail Epifanov 2024-01-24 08:59:31 +01:00
parent 578bb2af25
commit ba169ba38d
No known key found for this signature in database

View File

@ -59,7 +59,7 @@ class ConnectorManager:
try:
self._queue.put_nowait(Work(instance, action_type))
except queue.Full:
logging.info("queue was full, so skipping %s", instance)
logging.info(f"queue was full, so skipping {action_type} of type {type(instance)}")
return
def stop(self):