x/build/cmd/gitmirror: no need to keep entire corpus in memory #35977
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Performance
Milestone
The gitmirror process keeps the the full maintner corpus in memory to see when refs change and force a sync (otherwise the sync happens every 5 minutes).
To reduce its memory requirements and make it start faster, it could instead just watch the stream of maintner events and use that to detect ref changes, rather than using godata to slurp the entire project history into memory.
The text was updated successfully, but these errors were encountered: