这是我的 settings.py 的摘录:
BROKER_URL = "amqp://guest@localhost:6000//"
后
python manage.py celeryd
芹菜启动良好,显示:
-------------- celery@karol-toshiba v3.0.12 (Chiastic Slide)
---- **** -----
--- * *** * -- [Configuration]
-- * - **** --- . broker: amqp://guest@localhost:5672//
- ** ---------- . app: default:0xb6d01acc (.default.Loader)
- ** ---------- . concurrency: 2 (processes)
- ** ---------- . events: OFF (enable -E to monitor this worker)
- ** ----------
- *** --- * --- [Queues]
-- ******* ---- . celery: exchange:celery(direct) binding:celery
--- ***** -----
如何强制它使用指定的“BROKER_URL”设置?最终我希望它使用'django://'后端网址。任何帮助表示赞赏。