zktraffic/stats/loaders.py
def add_to_queue(self, queue, item, label):
    """ queue items send to us by the sniffer """
    count = len(queue)
    if count > queue.maxlength():  # pragma: no cover
      log.warn("Too many %s queued (%d)", label, count)
      return

    queue.appendleft(item)
 queue items send to us by the sniffer 
queue items send to us by the sniffer
queue items send to us by the sniffer
def add_to_queue(self, queue, item, label):
    count = len(queue)
    if count > queue.maxlength():  
      log.warn("Too many %s queued (%d)", label, count)
      return
    queue.appendleft(item)
def add_to_queue ( self , queue , item , label ) : count = len ( queue ) if count > queue . maxlength ( ) : log . warn ( "Too many %s queued (%d)" , label , count ) return queue . appendleft ( item )
queue items send to us by the sniffer
queue items send to us by the sniffer
""" queue items send to us by the sniffer """ # pragma: no cover
self
queue
item
label