aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-01-09 21:31:54 +0100
committerChristian Schneppe <christian@pix-art.de>2017-01-09 21:31:54 +0100
commit891ea070f92a1363b6cdffd9c7fb0d7e1b234e52 (patch)
treed096cb5379b869c5f3c37e5d6c7c261e90df9d3c
parent94fb468742e88abae4690b81fd02dab80f77fc97 (diff)
changed some config variables
-rw-r--r--src/main/java/de/pixart/messenger/Config.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/Config.java b/src/main/java/de/pixart/messenger/Config.java
index d980f0cfa..cd708213d 100644
--- a/src/main/java/de/pixart/messenger/Config.java
+++ b/src/main/java/de/pixart/messenger/Config.java
@@ -60,7 +60,7 @@ public final class Config {
public static final boolean ALWAYS_NOTIFY_BY_DEFAULT = false;
public static final int PING_MAX_INTERVAL = 300;
- public static final int IDLE_PING_INTERVAL = 1800; //540 is minimum according to docs;
+ public static final int IDLE_PING_INTERVAL = 600; //540 is minimum according to docs;
public static final int PING_MIN_INTERVAL = 30;
public static final int LOW_PING_TIMEOUT = 1; // used after push received
public static final int PING_TIMEOUT = 15;
@@ -75,11 +75,11 @@ public final class Config {
public static final int IMAGE_SIZE = 3840;
public static final Bitmap.CompressFormat IMAGE_FORMAT = Bitmap.CompressFormat.JPEG;
public static final int IMAGE_QUALITY = 75;
- public static final int IMAGE_MAX_SIZE = 524288; //512 KiB
+ public static final int IMAGE_MAX_SIZE = 1 * 1024 * 1024; // 1 MiB
public static final int VIDEO_SIZE = 640;
public static final int VIDEO_BITRATE = 2 * 1000 * 1000; // 2 Mbps
- public static final int VIDEO_MAX_SIZE = 10485760; //10 MiB
+ public static final int VIDEO_MAX_SIZE = 10 * 1024 * 1024; // 10 MiB
public static final int DEFAULT_ZOOM = 15; //for locations