-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Understanding Database Connections and Cron #1013
Comments
Yes, your assumptions totally correct 💯 I'd love some help with the documentation. It's tough to try to be explanatory, without also making it seem like something doesn't work (For example, the example of configuring cron is like "you can do this!" but isn't intended to be should or must) |
bensheldon
pushed a commit
that referenced
this issue
Jul 27, 2023
) * Clarify database connections and recurring processes in README.md See #1013 for more context. * Fix typos, formatting * Add in missing backtick * Update wording * Update wording
legendarydeveloper919
added a commit
to legendarydeveloper919/good_job
that referenced
this issue
Mar 15, 2024
…015) * Clarify database connections and recurring processes in README.md See bensheldon/good_job#1013 for more context. * Fix typos, formatting * Add in missing backtick * Update wording * Update wording
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docs for database connections make the development setup clear. Below is my development configuration.
Things are less clear in test and production.
In test, GoodJob runs in
:inline
mode. I assume, because there is no mention of the connections required, I can leave them at the following.In production, GoodJob runs in
:external
mode. I plan on having dedicated worker instances that process jobs, separate from my web servers, which are capable of enqueuing jobs.Does the "scheduler, a.k.a. LISTEN/NOTIFY" connection need to be accounted for on workers and web servers, or just workers?
Do the 2 cron connections need to be accounted for on workers and web servers, or just workers?
Can each of my worker processes have cron enabled? The docs seem to state it's okay to run it on all worker processes, but the example implies it should only be run on one worker:
So far, I have been operating on the assumption that the answers to these questions are:
Please let me know if those assumptions are correct. After that, I would be happy to open a PR in an effort to make the documentation on these points clearer.
The text was updated successfully, but these errors were encountered: