Show update notification msg only if client version is older.

This commit is contained in:
Manfred Karrer 2016-03-20 14:04:13 +01:00
parent c4a1105c09
commit 0e2ccbcdb9
3 changed files with 8 additions and 5 deletions

View file

@ -33,7 +33,7 @@ public final class Alert implements StoragePayload {
// That object is sent over the wire, so we need to take care of version compatibility.
private static final long serialVersionUID = Version.P2P_NETWORK_VERSION;
private static final Logger log = LoggerFactory.getLogger(Alert.class);
private static final long TTL = TimeUnit.DAYS.toMillis(10);
private static final long TTL = TimeUnit.DAYS.toMillis(21);
public final String message;
public final String version;