From 029baea4c776df8a900e3bd45c6a2e86dfd3e410 Mon Sep 17 00:00:00 2001 From: KoMa1012 Date: Thu, 9 Oct 2025 12:51:25 +0200 Subject: [PATCH] Update configuration.md added explanation for GUNICORN_TIMEOUT environmental variable --- docs/system/configuration.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/system/configuration.md b/docs/system/configuration.md index 91a3d4bb0..e0bbead44 100644 --- a/docs/system/configuration.md +++ b/docs/system/configuration.md @@ -189,6 +189,19 @@ See [Gunicorn docs](https://docs.gunicorn.org/en/stable/design.html#how-many-wor GUNICORN_THREADS=2 ``` + +#### Gunicorn Timeout + +> default `30` - options `1-X` + +Set the timeout in seconds of gunicorn when starting using `boot.sh` (all container installations). +The default is likely appropriate for most installations. However, if you are using a LLM which high response times gunicornmight time out during the wait until the LLM finished, in such cases you might want to increase the timeout. +See [Gunicorn docs]([https://docs.gunicorn.org/en/stable/design.html#how-many-workers](https://docs.gunicorn.org/en/stable/settings.html#timeout)) for default settings. + +``` +GUNICORN_TIMEOUT=30 +``` + #### Gunicorn Media > default `0` - options `0`, `1`