Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Feb 13, 2024
1 parent 40881a3 commit ec7b304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/minipipeline/normalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NormalizeHTTPRequestResults(values []*model.ArchivalHTTPRequestResult) {
// Avoid storing large bodies because that wastes repository space.
//
// See https://github.com/ooni/probe/issues/2677.
const maxStoreBody = 1 << 14
const maxStoreBody = 12_000
if len(entry.Response.Body) > maxStoreBody {
entry.Response.Body = model.ArchivalScrubbedMaybeBinaryString("")
entry.Response.BodyIsTruncated = true
Expand Down
Loading

0 comments on commit ec7b304

Please sign in to comment.