Commit 2e06c7ee5187e75e634fb8df12d479cd543c0ed0

Authored by Sergio Oliveira
1 parent 77b0ee23

Restart colab workers after 1000 requests

(cherry picked from commit 12f9dd7bc1ecd86774b5e782bea4e8b40b6f94ee)
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 5 syslog = True
6 6 proc_name = "colab"
7 7 timeout = 90
  8 +max_requests = 1000
... ...