Explorar o código

celeryd_after_setup signal is now sent before the startup banner is printed

Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
0a37d7ebc5
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      celery/apps/worker.py

+ 0 - 4
celery/apps/worker.py

@@ -167,10 +167,6 @@ class Worker(configurated):
         self.set_process_status('-active-')
 
         self.redirect_stdouts_to_logger()
-        # this signal can be used to e.g. change queues after
-        # the -Q option has been applied.
-        signals.celeryd_after_setup.send(sender=self.hostname, instance=self,
-                                         conf=self.app.conf)
         try:
             self.run_worker()
         except IGNORE_ERRORS: