mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 08:16:15 +10:00
[강운덕] [LUCYSUS-1744] pinpoint의 socket에서 사용하는 threadfactory의 thread type을 daemon으로 변경.
git-svn-id: http://svn.bds.nhncorp.com/pe/pinpoint-rpc/trunk@2183 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -51,7 +51,7 @@ public class PinpointSocketFactory {
|
||||
}
|
||||
|
||||
private Timer createTimer() {
|
||||
ThreadFactory threadFactory = new PinpointThreadFactory(this.getClass().getSimpleName() + "Timer");
|
||||
ThreadFactory threadFactory = new PinpointThreadFactory(this.getClass().getSimpleName() + "Timer", true);
|
||||
HashedWheelTimer timer = new HashedWheelTimer(threadFactory, 100, TimeUnit.MILLISECONDS);
|
||||
timer.start();
|
||||
return timer;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
public class RequestManager {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
private static final ThreadFactory THREAD_FACTORY = new PinpointThreadFactory("RequestManager-Timer");
|
||||
private static final ThreadFactory THREAD_FACTORY = new PinpointThreadFactory("RequestManager-Timer", true);
|
||||
|
||||
private final AtomicInteger requestId = new AtomicInteger(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user