Open sbidoul opened 1 year ago
Using redis to store the commits of the branches we have processed would be ideal.
This morning the commands have been processed before. I thought you did something already...
This night weblate has been quiet with a much lower load on the machine, that's why the nightly bot jobs finished earlier.
Is your feature request related to a problem?
Over time, with the number of repos and branches growing, the main branch bot is taking longer and longer. Since it fills the queue, some more important commands wait for a long time before being executed.
Describe the solution you'd like
An "easy" optimization would be to cache the last commit processed and not re-run the main branch task if the head of the branch has not changed.
Describe alternatives you've considered
Additional context
Related to #235