jetty-9: HTTP client: named the scheduler for better debugging.

This commit is contained in:
Simone Bordet 2012-10-09 10:34:21 +02:00
parent b1c50180b9
commit 02d0cc125c
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class HttpClient extends ContainerLifeCycle
addBean(byteBufferPool);
if (scheduler == null)
scheduler = new TimerScheduler();
scheduler = new TimerScheduler(HttpClient.class.getSimpleName() + "@" + hashCode() + "-Scheduler");
addBean(scheduler);
selectorManager = newSelectorManager();