minor comment fixes webid
authorHenry Story <henry.story@bblfish.net>
Tue, 24 Jan 2012 20:20:26 +0100
branchwebid
changeset 179 8b057135a94d
parent 178 27674711ebe9
child 180 aa9074df0635
minor comment fixes
src/main/scala/ReadWriteWebMain.scala
--- a/src/main/scala/ReadWriteWebMain.scala	Tue Jan 24 17:55:46 2012 +0100
+++ b/src/main/scala/ReadWriteWebMain.scala	Tue Jan 24 20:20:26 2012 +0100
@@ -20,9 +20,10 @@
 trait ReadWriteWebArgs {
   val logger: Logger = LoggerFactory.getLogger(this.getClass)
 
-  // in Order to be receptive to DNS changes the DNS cache must be set
-  java.security.Security.setProperty("networkaddress.cache.ttl" , ""+60*10); //3 minutes
-  java.security.Security.setProperty("networkaddress.cache.negative.ttl",""+60*3)
+  // in Order to be receptive to DNS changes the DNS cache properties below must be set
+  // please tune them to see what works best
+  java.security.Security.setProperty("networkaddress.cache.ttl" , ""+60*10);
+  java.security.Security.setProperty("networkaddress.cache.negative.ttl",""+60*3) //3 minutes
 
 
   val postUsageMsg= Some("""