芹菜和豆茎经纪人抛出异常

2024-05-16 03:34:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试将beanstalkd配置为芹菜的代理。我正在使用这个reference。在

这是我的密码

from __future__ import absolute_import

from celery import Celery

celery = Celery('test_celery',
    broker='beanstalk://localhost:11300',
            include=['tasks'])

celery.conf.update(
  CELERY_TASK_RESULT_EXPIRES=3600,)

if __name__ == '__main__':
    celery.start()

我运行worker时出现以下错误。这甚至不需要调用任何任务。我没有指定任何地方的豆茎管。在

^{pr2}$

有什么想法吗?在


Tags: fromtestimportlocalhost密码代理futurebroker