Skip to content

Commit

Permalink
chore: increase max body size to 512MB
Browse files Browse the repository at this point in the history
  • Loading branch information
theSuess committed May 13, 2024
1 parent c4edff6 commit c52209f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ func New(cfg Config) *Client {
}

if cfg.MaxBodySize <= 0 {
// By default set this to a reasonable 40MB.
cfg.MaxBodySize = int64(40 * bytesize.MiB)
// By default set this to a reasonable 512MB.
cfg.MaxBodySize = int64(512 * bytesize.MiB)
}

// Protect dialer with IP range sanitizer.
Expand Down

0 comments on commit c52209f

Please sign in to comment.