Эх сурвалжийг харах

Only load 50 messages per request in initial fill

Tulir Asokan 6 жил өмнө
parent
commit
1c009b96fe
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      portal.go

+ 1 - 1
portal.go

@@ -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
 		}