Class: WorkerKiller::Middleware::OOMLimiter

Inherits:
WorkerKiller::Middleware show all
Defined in:
lib/worker_killer/middleware.rb

Instance Attribute Summary

Attributes inherited from WorkerKiller::Middleware

#killer, #limiter, #reaction

Instance Method Summary collapse

Methods inherited from WorkerKiller::Middleware

#call

Constructor Details

#initialize(app, **opts) ⇒ OOMLimiter

Returns a new instance of OOMLimiter.



36
37
38
# File 'lib/worker_killer/middleware.rb', line 36

def initialize(app, **opts)
  super(app, klass: ::WorkerKiller::MemoryLimiter, **opts)
end