Merge pull request #34 from depools/feat/client-improvements

fx
This commit is contained in:
Mike Mozhaev 2020-09-08 11:00:48 +03:00 committed by GitHub
commit 05eb207b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ func main() {
log.Fatalf("failed to start HTTP server for nodeID #%d: %v\n", nodeID, err)
}
}(nodeID, n)
time.Sleep(1 * time.Second)
go nodes[nodeID].run()
go func(nodeID int, node client.Poller) {