enable playing a gesture with priority, clearing the queue #25
@@ -77,6 +77,7 @@ class ActuationReceiver(ReceiverBase):
|
|||||||
"""
|
"""
|
||||||
Safely drains all pending messages from the queue.
|
Safely drains all pending messages from the queue.
|
||||||
"""
|
"""
|
||||||
|
logging.info("Message queue size: {}".format(self._message_queue.qsize()))
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
# Remove items one by one without waiting
|
# Remove items one by one without waiting
|
||||||
|
|||||||
Reference in New Issue
Block a user