소스 검색

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
 		}