Skip to content

Commit

Permalink
fix: issues from public testnet testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Jul 3, 2023
1 parent c2c0eb0 commit 4774ffb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/pullsync/pullsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ func (s *Syncer) handler(streamCtx context.Context, p p2p.Peer, stream p2p.Strea

chs, err := s.processWant(ctx, offer, &want)
if err != nil {
if errors.Is(err, storage.ErrNotFound) {
s.intervalsSF.Forget(fmt.Sprintf("%v-%v", rn.Bin, rn.Start))
}
return fmt.Errorf("process want: %w", err)
}

Expand Down

0 comments on commit 4774ffb

Please sign in to comment.