mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-09 18:54:33 +00:00
Adds delay in deployer to ensure accounts are unlocked on time.
This commit is contained in:
parent
6e03301b7a
commit
4dab688b6f
@ -35,6 +35,11 @@ namespace CodexNetDeployer
|
|||||||
Log("Geth started. Codex contracts deployed.");
|
Log("Geth started. Codex contracts deployed.");
|
||||||
Log("Warning: It can take up to 45 minutes for the Geth node to finish unlocking all if its 1000 preconfigured accounts.");
|
Log("Warning: It can take up to 45 minutes for the Geth node to finish unlocking all if its 1000 preconfigured accounts.");
|
||||||
|
|
||||||
|
// It takes a second for the geth node to unlock a single account. Let's assume 3.
|
||||||
|
// We can't start the codex nodes until their accounts are definitely unlocked. So
|
||||||
|
// We wait:
|
||||||
|
Thread.Sleep(TimeSpan.FromSeconds(3.0 * config.NumberOfCodexNodes!.Value));
|
||||||
|
|
||||||
Log("Starting Codex nodes...");
|
Log("Starting Codex nodes...");
|
||||||
|
|
||||||
// Each node must have its own IP, so it needs it own pod. Start them 1 at a time.
|
// Each node must have its own IP, so it needs it own pod. Start them 1 at a time.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user