…or and Manager roles
…sed by the RR
…IMS for INSTRUMENT_OPERATORS
There is a very unique and strange bug inside of Python's C layer which causes the container to go into an infinite loop when I assign a tuple consisting of a RLock and a Queue into an OrderedDict and then return the references to the objects. I can not trick or in any other feasible manner provide memoization for the internal queues, therefore they will be plain and not memoized in any way.
Ingestion's internal timer was using a bi-conditional while-loop to flush the queues, which caused unnecessary latency in on_quit. This patch converts the loop to use gevent.event.Event which exits immediately.