2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 01:47:48 +00:00

Apparently there's another GC.disable in prod

Whoops.
This commit is contained in:
nanaya 2016-11-09 05:34:24 +09:00
parent 1d1b90a55c
commit e583ede01b

View File

@ -2,6 +2,7 @@
if defined? Unicorn
require "unicorn/worker_killer"
use Unicorn::WorkerKiller::MaxRequests, 4096, 8192
use Unicorn::WorkerKiller::Oom, (256*(1024**2)), (384*(1024**2))
end
require ::File.expand_path("../config/environment", __FILE__)