Skip to content

Commit

Permalink
Merge pull request #24 from acsone/puma_max_ram-sbi
Browse files Browse the repository at this point in the history
Fix handling of PUMA_MAX_RAM env var
  • Loading branch information
sebastienbeau authored Oct 5, 2024
2 parents 155917e + 6da1f02 commit be532b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopinvader/config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
before_fork do
require 'puma_worker_killer'
PumaWorkerKiller.config do |config|
config.ram = ENV['PUMA_MAX_RAM'] || 4096
config.ram = Integer(ENV['PUMA_MAX_RAM'] || 4096)
config.frequency = 60
config.rolling_restart_frequency = 12 * 3600
end
Expand Down

0 comments on commit be532b5

Please sign in to comment.