Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

undefined method `new' for Sidekiq::Worker:Module #8

Open
drqCode opened this issue Jan 14, 2022 · 1 comment
Open

undefined method `new' for Sidekiq::Worker:Module #8

drqCode opened this issue Jan 14, 2022 · 1 comment

Comments

@drqCode
Copy link

drqCode commented Jan 14, 2022

/usr/local/bundle/gems/sidekiq-monitor-stats-0.0.4/lib/sidekiq/monitor/stats.rb:37:in `block in job_metrics': undefined method `new' for Sidekiq::Worker:Module (NoMethodError)

Sidekiq 6 renamed the class Job to JobRecord and Job became an alias for Worker (module).

@pusewicz
Copy link

Thanks for reporting this @drqCode! We currently do not use Sidekiq 6 yet, but we would definitely welcome a patch!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants