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 Jul 1, 2020
1 parent dc76aa3 commit 5c1f960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/retriever/retriever.go
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 5c1f960

Please sign in to comment.