Skip to content

Commit 6929bb6

Browse files
committed
Increase the threshhold for resizing images
1 parent 857a4ed commit 6929bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Sources/Pulse/LoggerStore/LoggerStore.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ extension LoggerStore {
491491
}
492492

493493
private func preprocessData(_ data: Data, contentType: NetworkLogger.ContentType?) -> Data {
494-
guard data.count > 5000 else { // 5 KB is ok
494+
guard data.count > 20_000 else { // 20 KB is ok
495495
return data
496496
}
497497
guard configuration.isStoringOnlyImageThumbnails && (contentType?.isImage ?? false) else {

0 commit comments

Comments
 (0)