Refactor to constants

This commit is contained in:
Ehren Kret
2020-08-31 11:39:05 -05:00
committed by Jon Chambers
parent 5221828705
commit d715f86713
2 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,9 @@
package org.whispersystems.textsecuregcm.util;
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_MANIFEST_SIZE_BYTES = (int) DataSize.kibibytes(10).toBytes();
}