module Qless::Workers::BaseWorker::SupportsMiddlewareModules

Allow middleware modules to be mixed in and override the definition of around_perform while providing a default implementation so our code can assume the method is present.

Public Instance Methods

after_fork() click to toggle source
# File lib/qless/worker/base.rb, line 134
def after_fork
end
around_perform(job) click to toggle source
# File lib/qless/worker/base.rb, line 130
def around_perform(job)
  job.perform
end