Skip to content

Commit

Permalink
Merge pull request #1069 from OSC/fix_performance_issues
Browse files Browse the repository at this point in the history
Address some obvious performance issues
  • Loading branch information
johrstrom authored Apr 23, 2021
2 parents 8dba5c6 + e3b045e commit ec5bccf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nginx_stage/templates/pun.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ http {
# Kill all apps after they idle timeout
passenger_min_instances 0;

# Limit app instances to 1 so apps can safely utilize in memory session data
passenger_max_instances_per_app 1;

# Take advantage of Ruby preloader
#passenger_spawn_method smart;
#passenger_max_preloader_idle_time 0;
Expand Down

0 comments on commit ec5bccf

Please sign in to comment.