Explorar o código

Process name should be celeryd after all

Ask Solem %!s(int64=13) %!d(string=hai) anos
pai
achega
b2ffd737ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.