Permalink
Browse files

allow configurable http service daemon mode

  • Loading branch information...
1 parent 8b1f607 commit df0ad28262f78770254220fabea278e27da88e2f @zemanel committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)
options.setdefault('timeout', 30)
if workers:
options['workers'] = workers

0 comments on commit df0ad28

Please sign in to comment.