Sha256: eb8b033f6d26e38735fdf362e788224657b1a172727c542582c893eba91f1b54

Contents?: true

Size: 1.17 KB

Versions: 28

Compression:

Stored size: 1.17 KB

Contents

<%
  @path = '/etc/apache2/mods-available/passenger.conf'
  @post = 'cd /etc/apache2/mods-enabled && ln -fs ../mods-available/passenger.conf'
%>
LoadModule passenger_module <%= `echo #{rubber_env.passenger_lib}` %>
PassengerRoot <%= `echo #{rubber_env.passenger_root}` %>
PassengerRuby <%= `echo #{rubber_env.passenger_ruby}` %>
PassengerUseGlobalQueue on

# max number of rails instances per appserver
PassengerMaxPoolSize <%= rubber_env.max_app_connections %>

# Use PassengerMaxPoolSize for limit as we only have 1 app
PassengerMaxInstancesPerApp 0

# For performances sake, never shutdown rails instances when idle
PassengerPoolIdleTime 0

# For performances sake, never shutdown a rails instance after N requests
PassengerMaxRequests 0

# Passenger checks stuff like restart.txt on every request when this is 0
PassengerStatThrottleRate <%= RUBBER_ENV == 'production' ? '60' : '0' %>

# Turning this on breaks mod_rewrite
PassengerHighPerformance off

# Cache framework code per application
RailsSpawnMethod smart-lv2

# For performances sake, don't ever unload framework spawner
RailsFrameworkSpawnerIdleTime 0

# For performances sake, don't ever unload app spawner
RailsAppSpawnerIdleTime 0

Version data entries

28 entries across 14 versions & 4 rubygems

Version Path
rubber-1.5.9 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.9 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.8 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.8 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
axtro-rubber-1.5.7.1 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
axtro-rubber-1.5.7.1 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
axtro-rubber-1.5.7 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
axtro-rubber-1.5.7 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.7 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.7 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.6 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.6 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
sml-rubber-1.5.5 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
sml-rubber-1.5.5 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.5 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.5 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.4 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.4 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.3 lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
rubber-1.5.3 generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf