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

Commit 159373a

Browse files
drwashocpacia
authored andcommitted
tweak: Reduce timeouts to retryableSeedStoreToPeer
1 parent 6a63845 commit 159373a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/core.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func (n *OpenBazaarNode) retryableSeedStoreToPeer(pid peer.ID, graphHash string,
265265
}
266266
err := n.SendStore(pid.Pretty(), graph)
267267
if err != nil {
268-
if retryTimeout > 60*time.Second {
268+
if retryTimeout > 8*time.Second {
269269
log.Errorf("error pushing to peer %s: %s", pid.Pretty(), err.Error())
270270
return
271271
}

0 commit comments

Comments
 (0)