Skip to content

Commit 3bbe259

Browse files
fix(salud): increase initial backoff delay to 10s
1 parent 0caa060 commit 3bbe259

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module github.com/ethersphere/bee/v2
22

33
go 1.24.0
44

5+
toolchain go1.24.2
6+
57
require (
68
contrib.go.opencensus.io/exporter/prometheus v0.4.2
79
github.com/armon/go-radix v1.0.0

pkg/pingpong/pingpong.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
)
2323

2424
// loggerName is the tree path name of the logger for this package.
25-
const loggerName = "pinpong"
25+
const loggerName = "pingpong"
2626

2727
const (
2828
protocolName = "pingpong"

pkg/salud/salud.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const loggerName = "salud"
2626

2727
const (
2828
requestTimeout = time.Second * 10
29-
initialBackoffDelay = 5 * time.Second
29+
initialBackoffDelay = 10 * time.Second
3030
maxBackoffDelay = 5 * time.Minute
3131
backoffFactor = 2
3232
DefaultMinPeersPerBin = 4

0 commit comments

Comments
 (0)