Skip to content

Commit 9bc7edb

Browse files
committed
Change default max requests
Signed-off-by: Mihai Criveti <[email protected]>
1 parent dd7092e commit 9bc7edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-gunicorn.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ fi
245245
GUNICORN_TIMEOUT=${GUNICORN_TIMEOUT:-600}
246246

247247
# Maximum requests a worker will process before restarting (prevents memory leaks)
248-
GUNICORN_MAX_REQUESTS=${GUNICORN_MAX_REQUESTS:-1000}
248+
GUNICORN_MAX_REQUESTS=${GUNICORN_MAX_REQUESTS:-100000}
249249

250250
# Random jitter for max requests (prevents all workers restarting simultaneously)
251251
GUNICORN_MAX_REQUESTS_JITTER=${GUNICORN_MAX_REQUESTS_JITTER:-100}

0 commit comments

Comments
 (0)