Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 7d89880

Browse files
committed
Merge pull request #549 from visualphoenix/bugfix/env_defaults
fix parenthesis for default environment variables
2 parents 1bf6773 + e2f426c commit 7d89880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/gunicorn_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
os.environ.get('REGISTRY_HOST', '0.0.0.0'),
1010
os.environ.get('REGISTRY_PORT', '5000')
1111
)
12-
graceful_timeout = int(os.environ.get('GUNICORN_GRACEFUL_TIMEOUT'), 3600)
13-
timeout = int(os.environ.get('GUNICORN_SILENT_TIMEOUT'), 3600)
12+
graceful_timeout = int(os.environ.get('GUNICORN_GRACEFUL_TIMEOUT', 3600))
13+
timeout = int(os.environ.get('GUNICORN_SILENT_TIMEOUT', 3600))
1414
worker_class = 'gevent'
1515
max_requests = 100
1616
workers = int(os.environ.get('GUNICORN_WORKERS', 4))

0 commit comments

Comments
 (0)