Allow http service daemon mode configuration in SENTRY_WEB_OPTIONS #619

Merged
merged 2 commits into from Oct 4, 2012

2 participants

@zemanel

Allow setting gunicorn "daemon" setting through SENTRY_WEB_OPTIONS

@dcramer dcramer and 1 other commented on an outdated diff Oct 4, 2012
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', 30)
@dcramer
Sentry member
dcramer added a note Oct 4, 2012

I think this should be False :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@dcramer dcramer merged commit d7b100b into getsentry:master Oct 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment