Browse Source

Timeout event worker threads

pull/110/head
Ruud 13 years ago
parent
commit
4309d58f9c
  1. 2
      libs/axl/axel.py

2
libs/axl/axel.py

@ -179,7 +179,7 @@ class Event(object):
""" Executes all handlers stored in the queue """
while True:
try:
h_ = self.queue.get()
h_ = self.queue.get(timeout = 2)
handler, memoize, timeout = self.handlers[h_]
if self.lock and self.in_order:

Loading…
Cancel
Save