Class: WorkerKiller::DelayedJobPlugin::OOMLimiter

Inherits:
WorkerKiller::DelayedJobPlugin show all
Defined in:
lib/worker_killer/delayed_job_plugin.rb

Instance Attribute Summary

Attributes inherited from WorkerKiller::DelayedJobPlugin

#killer, #limiter, #reaction

Instance Method Summary collapse

Methods inherited from WorkerKiller::DelayedJobPlugin

#configure_lifecycle, #new

Constructor Details

#initialize(**opts) ⇒ OOMLimiter

Returns a new instance of OOMLimiter.



47
48
49
# File 'lib/worker_killer/delayed_job_plugin.rb', line 47

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