82c7d38b59
celery 不支持在 windows 上调用 async 函数。所有要部署在 linux 上,部署待测试。
222 B
222 B
Celery 异步服务器后端模块
部署
pip install celery gevent -i https://pypi.doubanio.com/simple/
celery -A celery_server worker -l info --pool=eventlet
需要在 celery 5.0 中才能使用 async