You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this warning when I start my rails console after defining the superworker.
Superworker.define(:BaseJob, :product_items, :template_hash, :user_id) do
batch product_items: :items do
TheJob :items, :template_hash
end
AnotherJob :user_id
end
and I get the below warning
/Users/prashantvithani/.rvm/gems/ruby-2.2.2/gems/sidekiq-superworker-1.2.0/lib/sidekiq/superworker/worker.rb:28: warning: already initialized constant BaseJob
/Users/prashantvithani/.rvm/gems/ruby-2.2.2/gems/sidekiq-superworker-1.2.0/lib/sidekiq/superworker/worker.rb:28: warning: previous definition of BaseJob was here
I have not defined BaseJob anywhere else except here. (I have used BaseJob as illustration, actual name is different)
The text was updated successfully, but these errors were encountered:
prashantvithani
changed the title
warning: already initialized constant BasJob
warning: already initialized constant BaseJob
Apr 20, 2016
I get this warning when I start my rails console after defining the superworker.
and I get the below warning
I have not defined BaseJob anywhere else except here. (I have used BaseJob as illustration, actual name is different)
The text was updated successfully, but these errors were encountered: