]> git.openstreetmap.org Git - chef.git/commitdiff
PassengerUseGlobalQueue defaults to on with passenger 4
authorTom Hughes <tom@compton.nu>
Mon, 7 Jul 2014 19:16:45 +0000 (20:16 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 7 Jul 2014 19:16:45 +0000 (20:16 +0100)
cookbooks/passenger/templates/default/passenger.conf.erb

index 7db2728b7795acae5158ff4c35e8d52f11c28d46..002394f2eac3d6e9ccb3cacccef5947a486a533a 100644 (file)
@@ -8,7 +8,9 @@
   PassengerRoot /usr
 <% end -%>
   PassengerRuby /usr/local/bin/passenger-ruby
+<% if node[:passenger][:version] < "4" -%>
   PassengerUseGlobalQueue on
+<% end -%>
   PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %>
   PassengerPoolIdleTime <%= node[:passenger][:pool_idle_time] %>
 </IfModule>