针对报错
Celery ValueError: not enough values to unpack (expected 3, got 0)
ValueError: not enough values to unpack (expected 3, got 0)
添加 --pool=solo 就好了
针对python2与python3共存
C:Python37python3.exe C:Python37Scriptscelery3.exe -A celery_app worker --pool=solo -l info
solo其实是线程启动
-P, --pool
Pool implementation:
prefork (default), eventlet, gevent, threads or solo.