Signed-off-by: Leo Chen <leo@harmony.one>
@ -156,7 +156,7 @@ func main() {
go func() {
// wait for 3 seconds for client to send ping message to leader
// FIXME (leo) the readySignal should be set once we really sent ping message to leader
time.Sleep(3 * time.Second) // wait for nodes to be ready
time.Sleep(1 * time.Second) // wait for nodes to be ready
for _, i := range shardIDs {
readySignal <- i
}
@ -163,7 +163,7 @@ fi
if [ "$TXGEN" == "true" ]; then
echo "launching txgen ... wait"
sleep 2
# sleep 2
line=$(grep client $config)
IFS=' ' read ip port mode shardID <<< $line
if [ "$mode" == "client" ]; then