Omer Katz 6 years ago
parent
commit
a2eded8c2c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      celery/utils/timer2.py

+ 2 - 0
celery/utils/timer2.py

@@ -17,6 +17,8 @@ from kombu.asynchronous.timer import Entry
 from kombu.asynchronous.timer import Timer as Schedule
 from kombu.asynchronous.timer import logger, to_timestamp
 
+from celery.five import THREAD_TIMEOUT_MAX
+
 TIMER_DEBUG = os.environ.get('TIMER_DEBUG')
 
 __all__ = ['Entry', 'Schedule', 'Timer', 'to_timestamp']