adjust default properties
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 24 Oct 2006 19:01:00 +0000 (19:01 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 24 Oct 2006 19:01:00 +0000 (19:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467441 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/NioSelectorPool.java
java/org/apache/tomcat/util/net/SocketProperties.java

index f3b3eb0..d6d0325 100644 (file)
@@ -36,7 +36,7 @@ import java.util.concurrent.ConcurrentLinkedQueue;
  */
 
 public class NioSelectorPool {
-    protected int maxSelectors = 100;
+    protected int maxSelectors = 200;
     protected int maxSpareSelectors = -1;
     protected boolean enabled = true;
     protected AtomicInteger active = new AtomicInteger(0);
index c98d3ba..d693e3b 100644 (file)
@@ -12,11 +12,11 @@ public class SocketProperties {
     protected boolean ooBInline = true;
     protected boolean soReuseAddress = true;
     protected boolean soLingerOn = true;
-    protected int soLingerTime = 10;
+    protected int soLingerTime = 25;
     protected int soTimeout = 5000;
     protected int soTrafficClass = 0x04 | 0x08 | 0x010;
     protected int performanceConnectionTime = 1;
-    protected int performanceLatency = 1;
+    protected int performanceLatency = 0;
     protected int performanceBandwidth = 1;
     private Socket properties;