speed up
This commit is contained in:
parent
8a0ab2271a
commit
121ecf0ffc
2
td.go
2
td.go
@ -98,7 +98,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
||||
|
||||
for lastParsedID64 >= 0 {
|
||||
prevLastParsedID64 := lastParsedID64
|
||||
msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 33, false)
|
||||
msgs, err := c.GetChatHistory(chat, lastParsedID64, 0, 99, false)
|
||||
if err != nil {
|
||||
if err.Error() == "timeout" {
|
||||
logOnError(err, "Waiting....")
|
||||
|
Loading…
Reference in New Issue
Block a user