Make tx generator log timeout message to file

pull/15/head
Rongjian Lan 6 years ago
parent 44518d8c35
commit 10c1b90190
  1. 2
      aws-code/transaction_generator.go

@ -222,7 +222,7 @@ func main() {
for true {
t := time.Now()
if t.Sub(start).Seconds() >= totalTime {
fmt.Println(int(t.Sub(start)), start, totalTime)
log.Debug("TIME OUT", "duration", (int(t.Sub(start))), "startTime", start, "totalTime", totalTime)
break
}

Loading…
Cancel
Save