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

This commit is contained in:
Jon Chambers 2020-10-22 16:06:16 -04:00 committed by Jon Chambers
parent e266e1ce40
commit 8523bb1ad8
1 changed files with 1 additions and 1 deletions

View File

@ -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,