Skip to content

Zero processes in development with async mode #1185

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

You must be logged in to vote

Thanks for sharing these details:

So, after rails s, I load the root page before reloading the goodjob GUI at /good_job. But the latter shows that zero processes are running. And due enqueued jobs only appear as Queued.

I do think that should be sufficient, but having GoodJob detect it's in a webserver is very tricky.

If you're using Puma, it's best to be explicit about starting GoodJob in your config/puma.rb file. Here are some examples: https://github.com/bensheldon/good_job#execute-jobs-async--in-process

Otherwise, you can do some puts debugging on Rails initializers. Here's what GoodJob waits for during initialization:

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@bensheldon
Comment options

@amo13
Comment options

Comment options

You must be logged in to vote
1 reply
@amo13
Comment options

Answer selected by amo13
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