argosopentech / argosopentech/LibreTranslate-init
Gunicorn Timeout after 30 seconds
- Dominant language
- Shell
- Stars
- 64
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
If a request takes longer than 30 seconds (default Gunicorn timeout), Gunicorn will kill the worker and the request will fail.
The only way I found to edit the timeout is by manually modifying the systemd service `ExecStart` to include a custom `--timeout ` parameter.
It would be nice if this could be configured through the .env file. I couldn't find a environment variable that Gunicorn reads for custom timeouts, so maybe a custom variable that is read back in the ExecStart command would be a viable solution
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the systemd service's ExecStart and the existing .env loading path. Trace how service options are assembled, then verify that a timeout value from .env reaches Gunicorn and that the default remains unchanged when it is unset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100