Class: WorkerKiller::Middleware::OOMLimiter
- Inherits:
-
WorkerKiller::Middleware
- Object
- WorkerKiller::Middleware
- WorkerKiller::Middleware::OOMLimiter
- Defined in:
- lib/worker_killer/middleware.rb
Instance Attribute Summary
Attributes inherited from WorkerKiller::Middleware
Instance Method Summary collapse
-
#initialize(app, **opts) ⇒ OOMLimiter
constructor
A new instance of OOMLimiter.
Methods inherited from WorkerKiller::Middleware
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 |