From ad6b907b823e75bf839354a3a07a840e3e3d9ee9 Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 21 Apr 2024 17:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BB=B6=E8=BF=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/get_history_message.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/get_history_message.go b/tools/get_history_message.go index a8f280a..1eb2617 100644 --- a/tools/get_history_message.go +++ b/tools/get_history_message.go @@ -97,6 +97,7 @@ 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) } return 0, nil