Change the "oversized message" threshold from 64kB to 1MB.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-10-23 11:13:19 -04:00
1 parent e266e1ce40
commit 8523bb1ad8
1 file changed
+1 -1
@@ -102,7 +102,7 @@ public class MessageController {
private static final String CONTENT_SIZE_DISTRIBUTION_NAME = name(MessageController.class, "messageContentSize");
private static final String OUTGOING_MESSAGE_LIST_SIZE_BYTES_DISTRIBUTION_NAME = name(MessageController.class, "outgoingMessageListSizeBytes");
private static final int MAX_MESSAGE_SIZE = 64 * 1024;
private static final int MAX_MESSAGE_SIZE = 1024 * 1024;
public MessageController(RateLimiters rateLimiters,
MessageSender messageSender,