set the thread name to assist diagnosis

This commit is contained in:
Kohsuke Kawaguchi committed 2010-12-29 10:18:01 -08:00
1 parent 7a5e5d2bb2
commit 51116f9df9
1 file changed
+1
@@ -149,6 +149,7 @@ public final class TcpSlaveAgentListener extends Thread {
synchronized(getClass()) {
id = iotaGen++;
}
setName("TCP slave agent connection handler #"+id+" with "+s.getRemoteSocketAddress());
}
@Override