Geo: Increase parallelism by scheduling project repositories by shard
In #3147 (closed), we discussed how we can increase the throughput of repository sync by scheduling them based on the shard. This MR changes the behavior of RepositorySyncWorker
so that it:
- Finds all healthy shards
- Schedules a
RepositoryShardSyncWorker
for each healthy shard
Closes #3147 (closed)
Edited by Stan Hu