Skip to content

Commit

Permalink
Increase gunicorn worker timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jun 21, 2021
1 parent b7b6312 commit 08c1519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gunicorn.conf.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
access_logfile = '-'
error_logfile = '-'
graceful_timeout = 60
graceful_timeout = 120
log_file = '-'
log_level = 'info'
logger_class = 'safe_transaction_service.utils.loggers.CustomGunicornLogger'
# max_requests = 2000 # Restart a worker after it has processed a given number of requests (for memory leaks)
preload_app = False # Load application code before the worker processes are forked (problems with gevent patching)
timeout = 60
timeout = 90
worker_class = 'gevent'
worker_connections = 2000

Expand Down

0 comments on commit 08c1519

Please sign in to comment.