From d07c273ab4378d5787e8ba7174bcdfc302eeeece Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Mon, 14 Aug 2023 17:09:02 +0200 Subject: [PATCH] adding default resp size to options (#4050) --- v2/pkg/types/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2/pkg/types/types.go b/v2/pkg/types/types.go index fe22ad30..6cc40379 100644 --- a/v2/pkg/types/types.go +++ b/v2/pkg/types/types.go @@ -421,6 +421,8 @@ func DefaultOptions() *Options { Timeout: 5, Retries: 1, MaxHostError: 30, + ResponseReadSize: 10 * 1024 * 1024, + ResponseSaveSize: 1024 * 1024, } }