lib/karafka/base_worker.rb in karafka-sidekiq-backend-1.4.1 vs lib/karafka/base_worker.rb in karafka-sidekiq-backend-1.4.2
- old
+ new
@@ -17,9 +17,10 @@
end
# @param subclass [Class] subclass of the worker
# @return [Class] subclass of the worker that was selected
def inherited(subclass)
+ super
@inherited ||= subclass
end
end
# Executes the logic that lies in #perform Karafka consumer method