[infinispan-commits] Infinispan SVN: r1865 - trunk/server/core/src/main/scala/org/infinispan/server/core.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Thu May 27 03:46:43 EDT 2010


Author: galder.zamarreno at jboss.com
Date: 2010-05-27 03:46:42 -0400 (Thu, 27 May 2010)
New Revision: 1865

Modified:
   trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala
Log:
[ISPN-461] (Disable idle timeout by default in Hot Rod and Memcached servers) Done.

Modified: trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala
===================================================================
--- trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala	2010-05-27 07:15:26 UTC (rev 1864)
+++ trunk/server/core/src/main/scala/org/infinispan/server/core/Main.scala	2010-05-27 07:46:42 UTC (rev 1865)
@@ -30,7 +30,7 @@
    val HOST_DEFAULT = "127.0.0.1"
    val MASTER_THREADS_DEFAULT = 0
    val WORKER_THREADS_DEFAULT = 0
-   val IDLE_TIMEOUT_DEFAULT = 60
+   val IDLE_TIMEOUT_DEFAULT = -1
 
    /**
     * Server properties.  This object holds all of the required
@@ -204,7 +204,7 @@
       println("    -r, --protocol=                    Protocol to understand by the server. This is a mandatory option and you should choose one of these options")
       println("          [memcached|hotrod|websocket]")
       println
-      println("    -i, --idle_timeout=<num>           Idle read timeout, in seconds, used to detect stale connections (default: 60 seconds).")
+      println("    -i, --idle_timeout=<num>           Idle read timeout, in seconds, used to detect stale connections (default: -1).")
       println("                                       If no new messages have been read within this time, the server disconnects the channel.")
       println("                                       Passing -1 disables idle timeout.")
       println



More information about the infinispan-commits mailing list