check_queue_size

lsst.ts.m2com.check_queue_size(queue: Queue, log: Logger, name: str = '') bool

Check the size of queue and log the information if needed.

Parameters

queueasyncio.Queue

Queue.

loglogging.Logger

A logger.

namestr, optional

Additional string to add to the log message for tracking purposes. (the default is “”)

Returns

bool

True if the information is logged or not. Otherwise, Fault.