Not able to use it with Sidekiq
nirajantimalsina opened this issue · comments
Nirajan Timalsina commented
Whenever I try to use this with sidekiq, it will throw error.
Error: undefined method perform_later
The code in CamundaJob is:
class CamundaJob include Sidekiq::Worker include Camunda::ExternalTaskJob end
Ankur Sethi commented
Please see the documentation for Sidekiq::Worker
. I think you are using an ActiveJob method but including Sidekiq::Worker
.
https://www.rubydoc.info/github/mperham/sidekiq/Sidekiq/Worker