Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
tweak: Extend ticker time for push nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
drwasho committed May 6, 2020
1 parent bf1f12c commit 2759d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/retriever/retriever.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (m *MessageRetriever) getPointersFromDataPeersRoutine(peerOut chan ps.PeerI
defer wg.Done()
ctx, cancel := context.WithTimeout(context.Background(), time.Second*35)
defer cancel()
time.Sleep(time.Second*15)
time.Sleep(time.Second * 15)
provs, err := ipfs.GetPointersFromPeer(m.routing, ctx, pid, &k)
if err != nil {
log.Errorf("Could not get pointers from push node because: %v", err)
Expand Down

0 comments on commit 2759d04

Please sign in to comment.