Omer Katz há 6 anos atrás
pai
commit
a2eded8c2c
1 ficheiros alterados com 2 adições e 0 exclusões
  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']