check_queue_size

lsst.ts.m2com.check_queue_size(queue, log, name='')

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.