Parcourir la source

Process name should be celeryd after all

Ask Solem il y a 13 ans
Parent
commit
b2ffd737ce
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      celery/concurrency/processes/__init__.py

+ 1 - 1
celery/concurrency/processes/__init__.py

@@ -48,7 +48,7 @@ def process_initializer(app, hostname):
     trace._tasks = app._tasks  # make sure this optimization is set.
     platforms.signals.reset(*WORKER_SIGRESET)
     platforms.signals.ignore(*WORKER_SIGIGNORE)
-    platforms.set_mp_process_title('celery', hostname=hostname)
+    platforms.set_mp_process_title('celeryd', hostname=hostname)
     # This is for Windows and other platforms not supporting
     # fork(). Note that init_worker makes sure it's only
     # run once per process.