Accelerate shutdown
This commit is contained in:
parent
f66ed07496
commit
b66d7d30ed
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ class Consumer(threading.Thread):
|
||||||
def run(self):
|
def run(self):
|
||||||
try:
|
try:
|
||||||
while not self.stop:
|
while not self.stop:
|
||||||
stm = self.context.cnsr_queue.get(True, 10)
|
stm = self.context.cnsr_queue.get(True, 1)
|
||||||
stm.run(self.context)
|
stm.run(self.context)
|
||||||
self.context.cnsr_queue.task_done()
|
self.context.cnsr_queue.task_done()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue