Skip to content

Commit

Permalink
Fix typo on gunicorn configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jul 21, 2023
1 parent 59c9bd2 commit 7de1d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logger_class = "safe_transaction_service.utils.loggers.CustomGunicornLogger"
preload_app = False # Load application code before the worker processes are forked (problems with gevent patching)
# For timeout to work with gevent, a custom GeventWorker needs to be used
timeout = os.environ("WEB_WORKER_TIMEOUT", 60)
timeout = os.environ.get("WEB_WORKER_TIMEOUT", 60)

worker_class = "gunicorn_custom_workers.MyGeventWorker" # "gevent"
worker_connections = os.environ.get("WEB_WORKER_CONNECTIONS", 1000)
Expand Down

0 comments on commit 7de1d90

Please sign in to comment.