mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 13:16:53 +00:00
Add an extra kb to max sticker size
This commit is contained in:
1 parent
5a89e66fc0
commit
96b753cfd0
2 files changed
+2
-2
No files matched your search
@@ -9,6 +9,6 @@ import io.dropwizard.util.DataSize;
|
||||
|
||||
public class Constants {
|
||||
public static final String METRICS_NAME = "textsecure";
|
||||
public static final int MAXIMUM_STICKER_SIZE_BYTES = (int) DataSize.kibibytes(300).toBytes();
|
||||
public static final int MAXIMUM_STICKER_SIZE_BYTES = (int) DataSize.kibibytes(300 + 1).toBytes(); // add 1 kiB for encryption overhead
|
||||
public static final int MAXIMUM_STICKER_MANIFEST_SIZE_BYTES = (int) DataSize.kibibytes(10).toBytes();
|
||||
}
|
||||
Reference in new issue
Block a user