Only load 50 messages per request in initial fill

This commit is contained in:
Tulir Asokan 2019-05-28 21:48:37 +03:00
parent dce08b1422
commit 1c009b96fe

View file

@ -565,7 +565,7 @@ func (portal *Portal) FillInitialHistory(user *User) error {
fromMe := true
chunkNum := 1
for n > 0 {
count := 100
count := 50
if n < count {
count = n
}