Skip to content

Commit

Permalink
breaking: reduce response payload size to 16 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher J. Brody committed Jun 5, 2020
1 parent a830145 commit 29795a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class NativeToJsMessageQueue {
// Arbitrarily chosen upper limit for how much data to send to JS in one shot.
// This currently only chops up on message boundaries. It may be useful
// to allow it to break up messages.
private static int MAX_PAYLOAD_SIZE = 50 * 1024 * 10240;
private static int MAX_PAYLOAD_SIZE = 16 * 1024 * 1024;

/**
* When true, the active listener is not fired upon enqueue. When set to false,
Expand Down

0 comments on commit 29795a9

Please sign in to comment.