Skip to content

Commit

Permalink
fix: set diagd gunicorn keepalive to 300s
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Smith <[email protected]>
  • Loading branch information
jasons42 committed Jan 14, 2022
1 parent a052571 commit cc905d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ambassador_diag/diagd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,7 @@ def _main(snapshot_path=None, bootstrap_path=None, ads_path=None,
'bind': '%s:%s' % (host, port),
# 'workers': 1,
'threads': workers,
'keepalive': 300,
}

app.logger.info("thread count %d, listening on %s" % (gunicorn_config['threads'], gunicorn_config['bind']))
Expand Down

0 comments on commit cc905d1

Please sign in to comment.