Running just the scheduled worker #284
Replies: 3 comments
-
Renovate On-Prem is a long lived server and not a CLI like Renovate OSS, so the concepts aren't 1:1. Renovate On-Prem has a scheduler with cron syntax and this controls when jobs are enqueued. If your queue is really long then you can end up with jobs running around the clock, essentially independent of the cron schedule. |
Beta Was this translation helpful? Give feedback.
-
Gotcha 👍🏽 For jobs that are In which case for a repo that's updated daily, rescanning dependencies may be less important, so we could reduce the frequency of the scheduled scans? |
Beta Was this translation helpful? Give feedback.
-
There are multiple reasons why webhooks trigger a job, including:
In such cases those "on demand" jobs take higher priority in the job queue. You could set scheduling to be as infrequent as you like and rely on the dynamic jobs but remember it doesn't apply to every commit |
Beta Was this translation helpful? Give feedback.
-
Related to #104, one option we're looking at to scale out the Worker is to schedule executions of the Worker process, for a subset of repos, on a given schedule.
This will run alongside the Renovate On Prem persistent service (for webhook functionality).
As noted in https://docs.renovatebot.com/examples/self-hosting/#kubernetes there's the ability to run the Open Source Renovate on a schedule - is it possible to configure the Renovate On-Prem product like so? Or would it be best to have a mix of the two?
Beta Was this translation helpful? Give feedback.
All reactions