码迷,mamicode.com
首页 > 其他好文 > 详细

CELERY里,这个WARNING如何消除?

时间:2015-12-10 16:49:54      阅读:1425      评论:0      收藏:0      [点我收藏+]

标签:

原来命令行里有提示,保证用-n给与不同的名字即可。

比如:

 

[program:celeryd]
command=/usr/local/python27/bin/celery worker --app=settings -c 4 -l info -n celeryd

[program:celerybeat]
command=/usr/local/python27/bin/celery worker --app=settings -c 4 --beat -n celerybeat

 

 

[2015-12-10 15:43:34,199: INFO/MainProcess] Connected to redis://127.0.0.1:6379/0
[2015-12-10 15:43:34,211: INFO/MainProcess] mingle: searching for neighbors
[2015-12-10 15:43:35,225: WARNING/MainProcess] /usr/local/python27/lib/python2.7/site-packages/celery-3.1.19-py2.7.egg/celery/app/control.py:36: DuplicateNodenameWarning: Received multiple replies from node name: name.
Please make sure you give each node a unique nodename using the `-n` option.
  pluralize(len(dupes), name), , .join(sorted(dupes)),

 

CELERY里,这个WARNING如何消除?

标签:

原文地址:http://www.cnblogs.com/aguncn/p/5036348.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!