--- 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("""