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

Commit 7fc5299

Browse files
drwashohoffmabc
authored andcommitted
tweak: Reduce timeouts to retryableSeedStoreToPeer
1 parent f39f182 commit 7fc5299

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
@@ -242,7 +242,7 @@ func (n *OpenBazaarNode) retryableSeedStoreToPeer(pid peer.ID, graphHash string,
242242
}
243243
err := n.SendStore(pid.Pretty(), graph)
244244
if err != nil {
245-
if retryTimeout > 60*time.Second {
245+
if retryTimeout > 8*time.Second {
246246
log.Errorf("error pushing to peer %s: %s", pid.Pretty(), err.Error())
247247
return
248248
}

0 commit comments

Comments
 (0)