Skip to content

Allow http service daemon mode configuration in SENTRY_WEB_OPTIONS #619

Merged
merged 2 commits into from Oct 4, 2012
View
2 src/sentry/services/http.py
@@ -35,7 +35,7 @@ def __init__(self, host=None, port=None, debug=False, workers=None):
options = (settings.WEB_OPTIONS or {}).copy()
options['bind'] = '%s:%s' % (self.host, self.port)
options['debug'] = debug
- options['daemon'] = False
+ options.setdefault('daemon', False)
options.setdefault('timeout', 30)
if workers:
options['workers'] = workers
Something went wrong with that request. Please try again.