windows上运行celery4.x就会出现问题:
ValueError: not enough values to unpack (expected 3, got 0)
解决办法:
pip install eventlet
启动worker的时候加一个参数,如下:
celery -A <mymodule> worker -l info -P eventlet
原文地址:https://www.cnblogs.com/louzi/p/10115384.html
时间: 2024-11-05 22:57:40