Jelajahi Sumber

Process name should be celeryd after all

Ask Solem 13 tahun lalu
induk
melakukan
b2ffd737ce
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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.