diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-12-13 12:25:52 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-12-13 12:25:52 +0100 |
commit | b523518e4b5a98d5a30aed2ec246fc83c42f5f6c (patch) | |
tree | 4a5ae98f18d24e2b100089ac361d65fbd39b0a6d /src/main/java/eu/siacs/conversations/Config.java | |
parent | f2510ae9f6598e70308b7e2a543010b1660dc876 (diff) |
various mam improvments
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/Config.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java index e9e73db9e..c491d632b 100644 --- a/src/main/java/eu/siacs/conversations/Config.java +++ b/src/main/java/eu/siacs/conversations/Config.java @@ -22,7 +22,9 @@ public final class Config { public static final boolean NO_PROXY_LOOKUP = false; //useful to debug ibb - public static final long MAX_HISTORY_AGE = 7 * 24 * 60 * 60 * 1000; + private static final long MILLISECONDS_IN_DAY = 24 * 60 * 60 * 1000; + public static final long MAX_HISTORY_AGE = 7 * MILLISECONDS_IN_DAY; + public static final long MAX_CATCHUP = MILLISECONDS_IN_DAY / 2; private Config() { |