From 568ac634bb78552096ed9793b1633efceea22c13 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 8 Sep 2023 11:45:14 +0800 Subject: [PATCH] fix --- sm.go | 1 - 1 file changed, 1 deletion(-) 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) }