Explorar o código

Only load 50 messages per request in initial fill

Tulir Asokan %!s(int64=6) %!d(string=hai) anos
pai
achega
1c009b96fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 		}