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 Jan 21, 2024
1 parent 658017a commit a78ee34
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 @@ -134,8 +134,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 a78ee34

Please sign in to comment.