From 84965f22533c2616839388a2e3b8ce7d8cb77181 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 3 Aug 2024 10:52:46 -0300 Subject: [PATCH] don't set limit to zero on --stream --- req.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/req.go b/req.go index 3f9f740..7835d9f 100644 --- a/req.go +++ b/req.go @@ -240,7 +240,7 @@ example: if limit := c.Uint("limit"); limit != 0 { filter.Limit = int(limit) - } else if c.IsSet("limit") || c.Bool("stream") { + } else if c.IsSet("limit") { filter.LimitZero = true }