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