From 76d90fa873ef02f0c73eee48617d2f7b309bb067 Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Sun, 29 Jul 2012 19:32:01 +0000
Subject: [PATCH] Set use-nio-selector-socket to true as we now running on JRE
 1.7.

SVN: 26261
---
 datastore_server/dist/etc/service.properties | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datastore_server/dist/etc/service.properties b/datastore_server/dist/etc/service.properties
index 8b692393279..da76e763781 100644
--- a/datastore_server/dist/etc/service.properties
+++ b/datastore_server/dist/etc/service.properties
@@ -14,8 +14,8 @@ port = 8444
 # Should the DSS web page be served with SSL encryption?
 use-ssl = true
 # Should Java NIO selector-based sockets be used?
-# (Note: in principle NIO sockets are faster, but on Linux with JRE < 7 they are slower due to a bug)
-use-nio-selector-socket = false
+# Set this to false when running on JRE 1.6 as this version has bugs which make NIO very slow.
+use-nio-selector-socket = true
 
 
 # Session timeout in minutes
-- 
GitLab