浏览代码

Process name should be celeryd after all

Ask Solem 13 年之前
父节点
当前提交
b2ffd737ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.