paperclip - delayed_paperclip is not hitting sidekiq -
i have set delayed paperclip , sidekiq, when try photo upload again, log's out put below:
[activejob] enqueued delayedpaperclip::jobs::activejob (job id: f9bf0100-2c5b-4c30-af04-9fb9b4ee8c5e) inline(paperclip) arguments: "carphoto", 32, "image" [activejob] [delayedpaperclip::jobs::activejob] [f9bf0100-2c5b-4c30-af04-9fb9b4ee8c5e] performing delayedpaperclip::jobs::activejob inline(paperclip) arguments: "carphoto", 32, "image" [activejob] [delayedpaperclip::jobs::activejob] [f9bf0100-2c5b-4c30-af04-9fb9b4ee8c5e] carphoto load (0.5ms) select "car_photos".* "car_photos" "car_photos"."id" = $1 limit 1 [["id", 32]]
which indicates activejob doing job.. , on other side in sidekiq console, don't see being logged out.. wondering if missing anything.
you haven't told activejob use sidekiq using inline adapter.
# config/application.rb module yourapp class application < rails::application # sure have adapter's gem in gemfile , follow # adapter's specific installation , deployment instructions. config.active_job.queue_adapter = :sidekiq end end
Comments
Post a Comment