From c60d5d6bfd9d47b49b3901f579d25ffe785f09a2 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Wed, 4 Aug 2021 15:14:56 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index a37232617..084691c8d 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -251,7 +251,7 @@ func (t *TcpClient) doPrint(key string) (err error) { if sounds := regexpSoundSpan.FindStringSubmatch(printMsg.Content); len(sounds) > 0 { sound := sounds[1] lenTime := time.Duration(utf8.RuneCountInString(sound)) * time.Second - time.Sleep(lenTime) + time.Sleep(lenTime / 2) } } }