Skip to content

Commit

Permalink
Merge pull request #7 from status-im/tuning-max-resend
Browse files Browse the repository at this point in the history
chore: lower the max send count after increase interval
  • Loading branch information
kaichaosun authored Oct 31, 2024
2 parents f6fba96 + 9b06369 commit b192c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
)

const FreshEventPeriod = 10 // seconds
const MaxSendCount = 15 // stop resend the message after 15 times (~10 days)
const MaxSendCount = 14 // stop resend the message after 14 times (~10 days)

type PeerStatusChangeEvent struct {
PeerID state.PeerID
Expand Down

0 comments on commit b192c60

Please sign in to comment.