Skip to content

Commit 85e9977

Browse files
authored
p2p: rm unused var seedMinTableTime (#32876)
1 parent 2010781 commit 85e9977

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

p2p/discover/table.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ const (
5454
bucketIPLimit, bucketSubnet = 2, 24 // at most 2 addresses from the same /24
5555
tableIPLimit, tableSubnet = 10, 24
5656

57-
seedMinTableTime = 5 * time.Minute
58-
seedCount = 30
59-
seedMaxAge = 5 * 24 * time.Hour
57+
seedCount = 30
58+
seedMaxAge = 5 * 24 * time.Hour
6059
)
6160

6261
// Table is the 'node table', a Kademlia-like index of neighbor nodes. The table keeps

0 commit comments

Comments
 (0)