This commit is contained in:
mcrakhman 2023-03-06 14:29:07 +01:00 committed by Mikhail Iudin
parent a124dbc7ea
commit b56603ca83
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -90,6 +90,7 @@ func (d *diffSyncer) UpdateHeads(id string, heads []string) {
}
func (d *diffSyncer) Sync(ctx context.Context) error {
// TODO: split diffsyncer into components
st := time.Now()
// diffing with responsible peers according to configuration
peers, err := d.peerManager.GetResponsiblePeers(ctx)