Skip to content

Commit

Permalink
Restart puma workers when total memory usage is greater than 80%
Browse files Browse the repository at this point in the history
  • Loading branch information
Dantemss committed Jan 19, 2021
1 parent 6a5d665 commit d9ecc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

config.frequency = 10

config.percent_usage = 1.0
config.percent_usage = 0.8

config.rolling_restart_frequency = false

Expand Down

0 comments on commit d9ecc4b

Please sign in to comment.