comments on vars in dht
Jeromy committed
Nov 8, 2014 at 21:57 UTC
d98808fad90c5612a35cb2e5e67c5648bce59f66
1 file changed
+2
-2
routing/dht/util.go
+2
-2
@@ -9,10 +9,10 @@ import (
9
// Pool size is the number of nodes used for group find/set RPC calls
10
var PoolSize = 6
11
12
-// We put the 'K' in kademlia!
12
+// K is the maximum number of requests to perform before returning failure.
13
var KValue = 10
14
15
-// Its in the paper, i swear
15
+// Alpha is the concurrency factor for asynchronous requests.
16
var AlphaValue = 3
17
18
// A counter for incrementing a variable across multiple threads