Allow for larger ascii responses

Summary: See linked task, data larger than 5KB would always be reported as blob. Increased this limit to 100KB, since if the user is looking at this data, it is proactively requested so it is fine if it is larger

Reviewed By: jknoxville

Differential Revision: D23317197

fbshipit-source-id: f563a980fa9567ac7e2f950b83c1888a7b295d77
This commit is contained in:
Michel Weststrate
2020-08-25 08:48:07 -07:00
committed by Facebook GitHub Bot
parent 6490687333
commit 7f9d4c35a0

View File

@@ -28,7 +28,7 @@ import java.util.Locale;
public class ObjectMapper {
private static final int MAX_BLOB_LENGTH = 5120;
private static final int MAX_BLOB_LENGTH = 100 * 1024;
private static final String UNKNOWN_BLOB_LABEL_FORMAT = "{%d-byte %s blob}";
public static FlipperArray databaseListToFlipperArray(