Skip to content

repo-updater: Reduce memory usage when prioritising uncloned repos

Administrator requested to merge rs/reduce-args-size into main

Created by: ryanslade

The main change is to pass around repo ids, which are int32, instead of repo names which are strings. Also skipped some intermediary copying of data out of repos by just passing repo structs around.

This should reduce memory spikes we've been seeing here

Test plan

Unit tests still pass and manually tested too.

Merge request reports

Loading