Skip to content

Commit

Permalink
p2p/discover: faster decay
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Apr 20, 2024
1 parent 30eb2bf commit 81e553f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discover/table_reval.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (tr *tableRevalidation) handleResponse(tab *Table, resp revalidationRespons

if !resp.didRespond {
// Revalidation failed.
n.livenessChecks /= 3
n.livenessChecks /= 5
if n.livenessChecks <= 0 {
tab.deleteInBucket(b, n.ID())
} else {
Expand Down

0 comments on commit 81e553f

Please sign in to comment.