re-enable preload app on unicorn

This commit is contained in:
Albert Yi
2016-11-07 10:49:47 -08:00
parent eb6746a8a8
commit cbc96a6c03
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ if defined?(Unicorn) && Rails.env.production?
require 'unicorn/worker_killer'
# Max requests per worker
use Unicorn::WorkerKiller::MaxRequests, 10_000, 15_000
use Unicorn::WorkerKiller::MaxRequests, 5_000, 10_000
# Max memory size (RSS) per worker
#use Unicorn::WorkerKiller::Oom, (192*(1024**2)), (256*(1024**2))