-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
cron: Adapt to 5 minutes recommendation #19506
Conversation
9237dae
to
9cc6d01
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 👍
That is actually intended. And back then I assumed it's 5min and running 14 means we can have up to 3 parallel crons. |
Okay, but then the comment is a bit misleading, no? Should we adjust that with this info? |
Yeah |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust the comments to #19506 (comment). The value is actually corret.
Update the comment to make clear that we ask for 14 minutes worth of jobs on purpose so at most three parallel cron jobs are running. Signed-off-by: Michael Kuhn <michael@ikkoku.de>
9cc6d01
to
ab6a18f
Compare
Done, hope the new version is okay. :-) |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
cron is still assuming that it will be scheduled every 15 minutes. Adapt this to the new 5 minutes recommendation to avoid overlapping executions.