Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
解决win10上celery出现的问题
  • Loading branch information
SozzZZ authored Feb 20, 2019
1 parent 93e3427 commit 5176fa0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bookstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3724,6 +3724,16 @@ __all__ = ['celery_app']
```
$ celery -A bookstore worker -l info
```
在win10上运行celery4.x会出现bug
解决方案:
1. 安装eventlet
```
pip install eventlet
```
2. 启动celery的时候添加参数
```
celery -A bookstore worker -l info -P eventlet
```
# <a id="10">10,登陆验证码功能实现</a>
Expand Down

0 comments on commit 5176fa0

Please sign in to comment.