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

Commit 8b156eb

Browse files
committed
tweak: Extend ticker time for push nodes
1 parent 77a6ea0 commit 8b156eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/retriever/retriever.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ func (m *MessageRetriever) getPointersFromDataPeersRoutine(peerOut chan ps.PeerI
237237
defer wg.Done()
238238
ctx, cancel := context.WithTimeout(context.Background(), time.Second*35)
239239
defer cancel()
240-
time.Sleep(time.Second*15)
240+
time.Sleep(time.Second * 15)
241241
provs, err := ipfs.GetPointersFromPeer(m.routing, ctx, pid, &k)
242242
if err != nil {
243243
log.Errorf("Could not get pointers from push node because: %v", err)

0 commit comments

Comments
 (0)