Name PubSub threads.
This commit is contained in:
parent
a63d98a2d7
commit
644453a9c4
@ -101,7 +101,8 @@ public class ReportServer
|
||||
private void initializeConnection(ConnectionData connectionData)
|
||||
{
|
||||
JedisPool jedisPool = Utility.generatePool(connectionData);
|
||||
Thread thread = new Thread(new RedisConnectionHandler(connectionData.getName(), jedisPool, _handler, CHANNELS, _logger));
|
||||
String connectionName = connectionData.getName();
|
||||
Thread thread = new Thread(new RedisConnectionHandler(connectionName, jedisPool, _handler, CHANNELS, _logger), connectionName + " - Redis PubSub Thread");
|
||||
thread.setDaemon(true);
|
||||
thread.start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user