瀏覽代碼

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
 		}