From 199179968bf94cb9799bd314fa5c1eec0d1414ef Mon Sep 17 00:00:00 2001 From: forcodedancing Date: Tue, 10 Oct 2023 15:21:20 +0800 Subject: [PATCH] add some sleep --- monitor/monitor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/monitor/monitor.go b/monitor/monitor.go index 380788a..6fc49d2 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -44,6 +44,7 @@ func (m *Monitor) run() error { return err } dbHeight++ + time.Sleep(20 * time.Millisecond) } return nil