mirror of https://github.com/poanetwork/quorum.git
Give Constellation time to start
This commit is contained in:
parent
d0be6b2575
commit
f25cdca033
|
@ -118,9 +118,9 @@ func runConstellation() (*osExec.Cmd, error) {
|
|||
constellationErr = constellationCmd.Start()
|
||||
}()
|
||||
// Give the constellation subprocess some time to start.
|
||||
time.Sleep(1 * time.Second)
|
||||
time.Sleep(5 * time.Second)
|
||||
fmt.Println(stdout.String() + stderr.String())
|
||||
if constellationErr != nil {
|
||||
fmt.Println(stdout.String() + stderr.String())
|
||||
return nil, constellationErr
|
||||
}
|
||||
private.P = constellation.MustNew(cfgFile.Name())
|
||||
|
|
Loading…
Reference in New Issue