From 59408e0ba3ad0fb149e5b9acf095b930e91725c6 Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 21 Apr 2024 17:25:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BB=B6=E8=BF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/get_history_message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get_history_message.go b/tools/get_history_message.go index 1eb2617..c5b14e6 100644 --- a/tools/get_history_message.go +++ b/tools/get_history_message.go @@ -97,9 +97,9 @@ func fetchHistoryMessages(db *sql.DB, message_seq int, group_id int) (int, error for _, message := range messages { messageMap := message.(map[string]interface{}) insertMessage(db, messageMap) - time.Sleep(time.Second * 1) } + time.Sleep(time.Second * 1) return 0, nil }