Permalink
Browse files

Apparently there's another GC.disable in prod

Whoops.
  • Loading branch information...
1 parent 1d1b90a commit e583ede01ba9df0bd079eed8647385cfad6c2f35 @nanaya nanaya committed Nov 8, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 config.ru
View
@@ -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__)

0 comments on commit e583ede

Please sign in to comment.