修改延迟
This commit is contained in:
parent
ad6b907b82
commit
59408e0ba3
1 changed files with 1 additions and 1 deletions
|
@ -97,9 +97,9 @@ func fetchHistoryMessages(db *sql.DB, message_seq int, group_id int) (int, error
|
||||||
for _, message := range messages {
|
for _, message := range messages {
|
||||||
messageMap := message.(map[string]interface{})
|
messageMap := message.(map[string]interface{})
|
||||||
insertMessage(db, messageMap)
|
insertMessage(db, messageMap)
|
||||||
time.Sleep(time.Second * 1)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
time.Sleep(time.Second * 1)
|
||||||
return 0, nil
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue