为什么芹菜找不到我的哨兵服务?
我有:
app.conf.broker_url = "sentinel://192.168.29.11:26379"
app.conf.broker_transport_options = {"master_name": "mymaster"}
我得到的是:
{"message": "consumer: Cannot connect to sentinel://192.168.29.11:26379: No master found for None.
Trying again in 2.00 seconds... (1/100)",
"level": "ERROR",
"logger": "celery.worker.consumer.consumer"}
为什么会有";找不到None"的主控形状;当我指定master名称时?
这是我的错误,在其他地方定义了另一个app.conf.broker_transport_options,它覆盖了设置。