]> git.openstreetmap.org Git - chef.git/commitdiff
osqa: set safe WSGIDaemonProcess restart intervals
authorGrant Slater <git@firefishy.com>
Tue, 13 Aug 2019 23:00:38 +0000 (00:00 +0100)
committerGrant Slater <git@firefishy.com>
Tue, 13 Aug 2019 23:00:38 +0000 (00:00 +0100)
cookbooks/osqa/templates/default/apache.erb

index 2d6e77139c442be71132eda375fc8be704c284f3..562f687e37d4046a258ca99772f5626eddae2fd2 100644 (file)
@@ -1,6 +1,6 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
-WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 threads=4 python-home=<%= @python_home %>
+WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 threads=4 inactivity-timeout=600 graceful-timeout=60 maximum-requests=2000 python-home=<%= @python_home %>
 
 <VirtualHost *:80>
   ServerName <%= @name %>