Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: calling GoodJob.restart in Puma on_worker_boot starts GoodJob regardless of it being in async mode or not #1054

Closed
bensheldon opened this issue Aug 29, 2023 · 0 comments · Fixed by #1055

Comments

@bensheldon
Copy link
Owner

Noted here: #1052 (comment)

Workaround is this:

on_worker_boot do
  GoodJob.restart if GoodJob.configuration.execution_mode == :async
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1 participant