Skip to content

Commit

Permalink
update celery docs with solo pool
Browse files Browse the repository at this point in the history
  • Loading branch information
snopoke committed Aug 12, 2024
1 parent 2e6005e commit aa9f60e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion celery.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ The easiest way to get going is to [download and install Redis](https://redis.io
(if you don't already have it) and then run:

```python
celery -A {{ project_name }} worker -l info
celery -A {{ project_name }} worker -l info --pool=solo
```

Note that the 'solo' pool is recommended for development but not for production. When running in production,
you should use a more robust pool implementation such as `prefork` (for CPU bound tasks) or `gevent` (for I/O bound
tasks).

### Running Celery on Windows

Celery 4.x [no longer officially supports Windows](https://docs.celeryq.dev/en/4.0/whatsnew-4.0.html#removed-features).
Expand Down

0 comments on commit aa9f60e

Please sign in to comment.