From b66d7d30ed3667e9291024fb9eeed8d2092ec435 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Wed, 2 Sep 2015 07:12:51 +0200 Subject: [PATCH] Accelerate shutdown --- nemubot/consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nemubot/consumer.py b/nemubot/consumer.py index b032c24..535f41c 100644 --- a/nemubot/consumer.py +++ b/nemubot/consumer.py @@ -231,7 +231,7 @@ class Consumer(threading.Thread): def run(self): try: while not self.stop: - stm = self.context.cnsr_queue.get(True, 10) + stm = self.context.cnsr_queue.get(True, 1) stm.run(self.context) self.context.cnsr_queue.task_done()