Commit 12f9dd7bc1ecd86774b5e782bea4e8b40b6f94ee
1 parent
1bdc84d7
Exists in
master
and in
67 other branches
Restart colab workers after 1000 requests
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
cookbooks/colab/templates/gunicorn.py.erb
@@ -5,3 +5,4 @@ workers = <%= node['config']['colab_http_workers'] || 'multiprocessing.cpu_count | @@ -5,3 +5,4 @@ workers = <%= node['config']['colab_http_workers'] || 'multiprocessing.cpu_count | ||
5 | syslog = True | 5 | syslog = True |
6 | proc_name = "colab" | 6 | proc_name = "colab" |
7 | timeout = 90 | 7 | timeout = 90 |
8 | +max_requests = 1000 |