mirror of
https://github.com/vacp2p/dst-libp2p-test-node.git
synced 2026-08-27 12:51:12 +00:00
Decrease startup jitter to 10 ms
This commit is contained in:
@@ -109,7 +109,7 @@ proc getNodeConfig*(): Result[NodeConfig, string] =
|
||||
parseIntEnv("STARTUP_JITTER_MS", "0").valueOr:
|
||||
return err(error)
|
||||
else:
|
||||
let step = parseIntEnv("STARTUP_JITTER_STEP_MS", "200").valueOr:
|
||||
let step = parseIntEnv("STARTUP_JITTER_STEP_MS", "10").valueOr:
|
||||
return err(error)
|
||||
nodeIndex * step
|
||||
|
||||
|
||||
Reference in New Issue
Block a user