mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-07-30 19:42:01 +00:00
made deprecated util values have comments that satisfy golint
This commit is contained in:
6
util.go
6
util.go
@@ -1,13 +1,13 @@
|
||||
package dht
|
||||
|
||||
// PoolSize is the number of nodes used for group find/set RPC calls
|
||||
// Deprecated: No longer used
|
||||
// Pool size is the number of nodes used for group find/set RPC calls
|
||||
var PoolSize = 6
|
||||
|
||||
// KValue is the maximum number of requests to perform before returning failure.
|
||||
// Deprecated: This value is still the default, but changing this parameter no longer does anything.
|
||||
// K is the maximum number of requests to perform before returning failure.
|
||||
var KValue = 20
|
||||
|
||||
// AlphaValue is the concurrency factor for asynchronous requests.
|
||||
// Deprecated: This value is still the default, but changing this parameter no longer does anything.
|
||||
// Alpha is the concurrency factor for asynchronous requests.
|
||||
var AlphaValue = 3
|
||||
|
Reference in New Issue
Block a user