Skip to content

Commit

Permalink
set gunicorn max_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Nov 5, 2024
1 parent b7e0729 commit ec33a44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
preload = True
workers = 1
timeout = 0

# restart periodically to avoid leaked memory becoming an issue
max_requests = 500

0 comments on commit ec33a44

Please sign in to comment.