diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 996:d9cfec64899c

simplify Connector
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 18 Oct 2016 21:22:53 -0600
parents 688c39c50ee3
children 74b9daf2826c
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Tue Oct 18 18:38:05 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Tue Oct 18 21:22:53 2016 -0600
@@ -439,7 +439,7 @@
 
 	public final int getMaxIdleTime()
 	{
-		if (_connector.isLowResources() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime())
+		if (_connector.server.isLowOnThreads() && _endp.getMaxIdleTime()==_connector.getMaxIdleTime())
 			return 0;
 		if (_endp.getMaxIdleTime()>0)
 			return _endp.getMaxIdleTime();