PassengerUseGlobalQueue defaults to on with passenger 4
[chef.git] / 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>