diff options
author | Manuel Roman <manuelroman@google.com> | 2011-09-15 11:32:25 -0700 |
---|---|---|
committer | Manuel Roman <manuelroman@google.com> | 2011-09-15 11:32:25 -0700 |
commit | cc85bd38e82cb6e41288a2bb90f77ba92d79c9d7 (patch) | |
tree | 3045bd906915ed82fde5179b80115a90c0b7863f /src/javax/jmdns/impl/constants | |
parent | 3742d9db8b6edb10627b0f89336cca5249f1d15a (diff) | |
download | jmdns-cc85bd38e82cb6e41288a2bb90f77ba92d79c9d7.tar.gz |
Changed DNS Record Default Expiration Time to 25 seconds
It was an hour, which was making impossible to detect changes
in the Active Home mdns beacon in a reasonable amount of time
Change-Id: I283507fa2c4aaf18e7233fc8897d538baeeea561
Diffstat (limited to 'src/javax/jmdns/impl/constants')
-rw-r--r-- | src/javax/jmdns/impl/constants/DNSConstants.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/javax/jmdns/impl/constants/DNSConstants.java b/src/javax/jmdns/impl/constants/DNSConstants.java index 2704f94..b79400b 100644 --- a/src/javax/jmdns/impl/constants/DNSConstants.java +++ b/src/javax/jmdns/impl/constants/DNSConstants.java @@ -18,8 +18,8 @@ public final class DNSConstants { public static final int MDNS_PORT = Integer.parseInt(System.getProperty("net.mdns.port", "5353")); public static final int DNS_PORT = 53; - // One hour expiration time - public static final int DNS_TTL = 60 * 60; + // DNS Records Expiration Time in Seconds + public static final int DNS_TTL = 25; public static final int MAX_MSG_TYPICAL = 1460; public static final int MAX_MSG_ABSOLUTE = 8972; |