Author: ron.sigal(a)jboss.com
Date: 2011-03-21 12:57:12 -0400 (Mon, 21 Mar 2011)
New Revision: 6289
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
Log:
JBREM-1277: Set worker threads priority to normal.
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2011-03-19
21:15:11 UTC (rev 6288)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2011-03-21
16:57:12 UTC (rev 6289)
@@ -805,6 +805,7 @@
if(trace) { log.trace(this + " creating new worker thread");
}
worker = new ServerThread(socket, this, clientpool, threadpool,
getTimeout(), writeTimeout,
serverSocketClass);
+ worker.setPriority(Thread.NORM_PRIORITY);
if(trace) { log.trace(this + " created " + worker); }
newThread = true;
}
Show replies by date