File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,8 @@ export ALLOWED_HOSTS="*"
60
60
# export PORT=8000
61
61
62
62
# How many workers and threads should your app use? WEB_CONCURRENCY defaults
63
- # to the server's CPU count * 2. That is a good starting point. In development
64
- # it's a good idea to use 1 to avoid race conditions when debugging.
63
+ # to the server's CPU count * 2. That is a good starting point.
65
64
# export WEB_CONCURRENCY=
66
- export WEB_CONCURRENCY = 1
67
65
# export PYTHON_MAX_THREADS=1
68
66
69
67
# Do you want code reloading to work with the gunicorn app server?
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
16
16
17
17
- Convert ` SECRET_KEY ` into a required env var
18
18
- Add ` required: false ` to ` depends_on ` in ` docker-compose.yml ` (requires Docker Compose v2.20.2+)
19
+ - Adjust ` WEB_CONCURRENCY ` to default to N number of CPU cores instead of 1 in development
19
20
- Rename ` docker-compose.yml ` to ` compose.yaml ` to stick to the official Docker Compose spec
20
21
21
22
#### Languages and services
You can’t perform that action at this time.
0 commit comments