Skip to content

what is the safest way to remove good_job? #1535

Answered by bensheldon
laptopmutia asked this question in Q&A
Discussion options

You must be logged in to vote

No worries. I don’t think GoodJob requires anything special for deployment differently than Solid Queue (run the good_job executable), but I understand if you just want to follow what’s closest to Rails.

The safest way would be to leave GoodJob in place in the Gemfile and Database, and instead install Solid Queue and change your config.queue_adapter = :solid_queue to get all of the jobs running while both are in place. You’ll need to doublecheck you aren’t using any GoodJob extensions (like Concurrency) or special behavior (like Batches), and switch over any Cron-like configuration.

Only once you’re sure no jobs are being enqueued or executed on GoodJob should you then:

  • Remove from Gemfile

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by laptopmutia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants