Automatically adjust branch mirror frequency based on commit frequency
Bug #136939 reported by
Jonathan Lange
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Currently, Launchpad mirrors branches at a fixed time interval. It might be desirable to adjust the frequency of mirroring based on the frequency of commits.
From a phone conversation w/ mpt. Related to bug 74033.
Thoughts:
- Ideally, we'd only pull when the branch-
- This isn't the same as commits to the branch. Is there a better measure?
Changed in launchpad-bazaar: | |
status: | New → Triaged |
To post a comment you must log in.
Your goal is to maximize the usefulness of the mirrors, which includes minimizing the average time between a branch changing and that change being mirrored. So I suggest first devising a way to measure that average time. Then you can adjust the mirror scheduling algorithm and test the effects of your adjustments.