فهرست منبع

Only load 50 messages per request in initial fill

Tulir Asokan 6 سال پیش
والد
کامیت
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
 		}