|
@@ -28,8 +28,8 @@ pip install -U "celery[redis]"
|
|
|
celery -A proj worker
|
|
|
```
|
|
|
|
|
|
-#### Options
|
|
|
-'''
|
|
|
+### Options
|
|
|
+```
|
|
|
Worker Options:
|
|
|
-n, --hostname HOSTNAME Set custom hostname (e.g., 'w1@%%h').
|
|
|
Expands: %%h (hostname), %%n (name) and %%d, (domain).
|
|
@@ -48,8 +48,8 @@ Pool Options:
|
|
|
Number of child processes processing the
|
|
|
queue. The default is the number of CPUs
|
|
|
available on your system.
|
|
|
-'''
|
|
|
-'''celery worker --help''' can get more infomation.
|
|
|
+```
|
|
|
+```celery worker --help``` can get more infomation.
|
|
|
|
|
|
### woker in Windows
|
|
|
add ``` --pool=solo ``` option
|