This commit is contained in:
programmer10110 2020-09-08 10:38:48 +03:00
parent db5318e61a
commit 9104b0875a
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) {