forked from e621ng/e621ng
Revise memory targets
This commit is contained in:
parent
51f8159773
commit
796a91321a
@ -8,7 +8,7 @@ if defined?(Unicorn) && ENV["RAILS_ENV"] == "production"
|
||||
use Unicorn::WorkerKiller::MaxRequests, 5_000, 10_000
|
||||
|
||||
# Max memory size (RSS) per worker
|
||||
use Unicorn::WorkerKiller::Oom, (192*(1024**2)), (256*(1024**2))
|
||||
use Unicorn::WorkerKiller::Oom, (386*(1024**2)), (768*(1024**2))
|
||||
end
|
||||
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
|
Loading…
Reference in New Issue
Block a user