Netty is Freezing on Load Testing
"Trustin Lee (이희승)"
trustin at gmail.com
Sun Jun 6 21:50:48 EDT 2010
mlaverd wrote:
> pipeline.addLast("Timeout", new Disconnector(new
> HashedWheelTimer(WORKER_THREAD_POOL.getThreadFactory()),
> SESSION_TIMEOUT,SESSION_TIMEOUT,SESSION_TIMEOUT,
> TimeUnit.MILLISECONDS));
A new thread is created for each new HashedWheelTimer instance - you
have to create only one and share it.
HTH,
Trustin
--
what we call human nature in actuality is human habit
http://gleamynode.net/
More information about the netty-users
mailing list