先安装一个扩展 eventlet
pip install eventlet -i https://pypi.douban.com/simple
**然后启动worder添加一个参数 -P eventlet
**
celery -A celery_task.main worker -l INFO -P eventlet
如果报错是UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!
则在settings设置 DEBUG="False"