Set shorter thread names (#379)
This commit is contained in:
parent
84aa652846
commit
d7bfe89e43
@ -79,7 +79,7 @@ namespace ix
|
|||||||
void WebSocketServer::handleConnection(std::unique_ptr<Socket> socket,
|
void WebSocketServer::handleConnection(std::unique_ptr<Socket> socket,
|
||||||
std::shared_ptr<ConnectionState> connectionState)
|
std::shared_ptr<ConnectionState> connectionState)
|
||||||
{
|
{
|
||||||
setThreadName("WebSocketServer::" + connectionState->getId());
|
setThreadName("Srv:ws:" + connectionState->getId());
|
||||||
|
|
||||||
auto webSocket = std::make_shared<WebSocket>();
|
auto webSocket = std::make_shared<WebSocket>();
|
||||||
if (_onConnectionCallback)
|
if (_onConnectionCallback)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user