threadutil: don't limit the number of threads

With a maxsize to the Queue of threads we are introducing a blocking call while
adding new threads.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-05-12 04:33:20 +02:00
parent 2611a0ba6a
commit 87cf6bda02
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class threadlist:
# Exit-notify threads
######################################################################
exitthreads = Queue(100)
exitthreads = Queue()
def exitnotifymonitorloop(callback):
"""An infinite "monitoring" loop watching for finished ExitNotifyThread's.