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

Production deployment question #1257

Closed
mayank23 opened this issue Feb 19, 2024 · 2 comments
Closed

Production deployment question #1257

mayank23 opened this issue Feb 19, 2024 · 2 comments

Comments

@mayank23
Copy link

Hi!

Pardon the noob question.

Let's say I wanted to build a cluster of good job instances that are separate from my rails servers. Is there a process to do that? Or is the only way to add more rails servers and start a good job process along side them?

Thanks

@bensheldon
Copy link
Owner

Happy to help 😊 The default production execution mode is config.good_job.execution_mode = :external, which will not execute jobs in the enqueuing process (eg your webserver).

You'll then want to run one or more instances of bundle exec good_job to execute the jobs.

@mayank23
Copy link
Author

Ah ok great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants