|
|
@ -46,7 +46,7 @@ var ( |
|
|
|
const ( |
|
|
|
const ( |
|
|
|
waitInRetry = 2 * time.Second |
|
|
|
waitInRetry = 2 * time.Second |
|
|
|
connectionTimeout = 3 * time.Minute |
|
|
|
connectionTimeout = 3 * time.Minute |
|
|
|
findPeerInterval = 1 * time.Minute |
|
|
|
findPeerInterval = 30 * time.Second |
|
|
|
|
|
|
|
|
|
|
|
// register to bootnode every ticker
|
|
|
|
// register to bootnode every ticker
|
|
|
|
dhtTicker = 6 * time.Hour |
|
|
|
dhtTicker = 6 * time.Hour |
|
|
|