]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: apache use async_request_worker_factor
authorGrant Slater <git@firefishy.com>
Tue, 5 Nov 2019 23:33:53 +0000 (23:33 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 5 Nov 2019 23:33:53 +0000 (23:33 +0000)
roles/nominatim.rb

index ce41ae54813c8d19254ff4a1d1a2fb534b24058e..50fa0f48447a66ae903032c8f10079e2c6475695 100644 (file)
@@ -14,7 +14,7 @@ default_attributes(
   },
   :apache => {
     :mpm => "event",
-    :timeout => 60,
+    :timeout => 30,
     :keepalive => false,
     :reqtimeout => true,
     :event => {
@@ -22,7 +22,8 @@ default_attributes(
       :max_request_workers => 2400,
       :threads_per_child => 50,
       :min_spare_threads => 125,
-      :max_spare_threads => 925
+      :max_spare_threads => 925,
+      :async_request_worker_factor => 4
     }
   },
   :apt => {