From b56603ca8350e788a24266fe145c4d5b40b28e69 Mon Sep 17 00:00:00 2001 From: mcrakhman Date: Mon, 6 Mar 2023 14:29:07 +0100 Subject: [PATCH] Add todo --- commonspace/headsync/diffsyncer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commonspace/headsync/diffsyncer.go b/commonspace/headsync/diffsyncer.go index 0e7d9e3f..9d3434c1 100644 --- a/commonspace/headsync/diffsyncer.go +++ b/commonspace/headsync/diffsyncer.go @@ -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)