Skip to content

Commit

Permalink
Reduce event lookbehind in cmd/replica-browser to fix i/o timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Feb 17, 2024
1 parent 3793319 commit 1c61a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/replica-browser/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func main() {
http.NotFound(w, r)
return
}
events := rc.XRevRangeN(ctx, "uploads:cloudflare-replica", "+", "-", 10000)
events := rc.XRevRangeN(ctx, "uploads:cloudflare-replica", "+", "-", 1000)
if events.Err() != nil {
panic(events.Err())
}
Expand Down

0 comments on commit 1c61a13

Please sign in to comment.