Add todo
This commit is contained in:
parent
a124dbc7ea
commit
b56603ca83
@ -90,6 +90,7 @@ func (d *diffSyncer) UpdateHeads(id string, heads []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (d *diffSyncer) Sync(ctx context.Context) error {
|
func (d *diffSyncer) Sync(ctx context.Context) error {
|
||||||
|
// TODO: split diffsyncer into components
|
||||||
st := time.Now()
|
st := time.Now()
|
||||||
// diffing with responsible peers according to configuration
|
// diffing with responsible peers according to configuration
|
||||||
peers, err := d.peerManager.GetResponsiblePeers(ctx)
|
peers, err := d.peerManager.GetResponsiblePeers(ctx)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user