Author: ron.sigal(a)jboss.com
Date: 2011-03-21 13:01:31 -0400 (Mon, 21 Mar 2011)
New Revision: 6291
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
Log:
JBREM-1277: Set worker threads priority to normal.
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
===================================================================
---
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2011-03-21
16:58:20 UTC (rev 6290)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2011-03-21
17:01:31 UTC (rev 6291)
@@ -628,8 +628,9 @@
worker = new ServerThread(socket, this, clientpool, threadpool,
getTimeout(), writeTimeout,
serverSocketClass);
+ worker.setPriority(Thread.NORM_PRIORITY);
- if(trace) { log.trace(this + " created " + worker); }
+ if(trace) { log.trace(this + " created " + worker + "
with priority " + worker.getPriority()); }
newThread = true;
}
Show replies by date