diff src/org/eclipse/jetty/server/nio/SelectChannelConnector.java @ 964:768414c16e10

remove SelectSet
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 01:03:47 -0600
parents fc521d2f098e
children 0d20943cfea2
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 14 00:15:28 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 14 01:03:47 2016 -0600
@@ -59,7 +59,6 @@
 	public SelectChannelConnector(Server server,int port)
 	{
 		super(server,port);
-		_manager.setMaxIdleTime(getMaxIdleTime());
 		addBean(_manager,true);
 	}
 	
@@ -91,9 +90,6 @@
 	@Override
 	protected synchronized void doStart() throws Exception
 	{
-//		_manager.setMaxIdleTime(getMaxIdleTime());
-		_manager.setLowResourcesConnections(0);
-
 		if (_acceptChannel == null)
 		{
 			// Create a new server socket
@@ -120,6 +116,10 @@
 
 	private final class ConnectorSelectorManager extends SelectorManager
 	{
+		ConnectorSelectorManager() {
+			super(_maxIdleTime);
+		}
+
 		@Override
 		public void execute(Runnable task)
 		{