mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Default worker-count in Docker: 1 instead of 10
My reasoning is twofold: 1. a count of 1 is actually probably "enough for many setups" because ingestion is very fast anyway (just store the file); while the lower memory-footprint that comes with having fewer workers means that adoption of Bugsink will be easier. 2. tuning the variable is going to be less annoying if there's no default that might override "in the wrong direction" (i.e. the interaction between `WEB_CONCURRENCY` and `GUNICORN_CMD_ARGS`) See #101 (where the concept of customizability was discussed, though not the present idea of chaning the default).
This commit is contained in:
@@ -51,7 +51,6 @@ ARG WHEEL_FILE=wheelfile-not-specified.whoops
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
ENV PORT=8000
|
||||
ENV GUNICORN_CMD_ARGS="--workers=10"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user