Explorar el Código

Merge branch 'coderanger/master'

Ask Solem hace 14 años
padre
commit
31867375cd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/utils/timer2.py

+ 1 - 1
celery/utils/timer2.py

@@ -180,7 +180,7 @@ class Timer(Thread):
             self.running = False
 
     def enter(self, entry, eta, priority=None):
-        if not self.running:
+        if not self.running and not self.is_alive():
             self.start()
         return self.schedule.enter(entry, eta, priority)