mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 13:36:47 +00:00
Be consistent with use of DataSize class
This commit is contained in:
1 parent
dd436dd1dd
commit
10cdb7387d
1 file changed
+1
-1
+1
-1
@@ -93,7 +93,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 = 1024 * 1024;
|
||||
private static final long MAX_MESSAGE_SIZE = DataSize.mebibytes(1).toBytes();
|
||||
private static final long SMALLER_MAX_MESSAGE_SIZE = DataSize.kibibytes(256).toBytes();
|
||||
|
||||
public MessageController(RateLimiters rateLimiters,
|
||||
|
||||
Reference in new issue
Block a user