Skip to content

Commit

Permalink
[eventlet] Do not call blockdetection setup if no timeout set. Closes c…
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Jun 13, 2013
1 parent 3993c65 commit 62a10d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion celery/concurrency/eventlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
import eventlet
import eventlet.debug
eventlet.monkey_patch()
eventlet.debug.hub_blocking_detection(EVENTLET_DBLOCK)
if EVENTLET_DBLOCK:
eventlet.debug.hub_blocking_detection(EVENTLET_DBLOCK)

from time import time

Expand Down

0 comments on commit 62a10d3

Please sign in to comment.