diff --git a/sm.go b/sm.go index a9e4e39..22fcb08 100644 --- a/sm.go +++ b/sm.go @@ -45,7 +45,6 @@ func NewSMQueue(shardID uint64, replicaID uint64) sm.IStateMachine { // totalAllocMB := float64(m.TotalAlloc) / 1024 / 1024 sysMB := float64(m.Sys) / 1024 / 1024 fmt.Printf("队列 剩余: %d, Alloc = %.2f MB, Sys = %.2f MB\n", params.Value, allocMB, sysMB) - time.Sleep(time.Second * 1) } else { time.Sleep(time.Second * 5) }