Update HTTPSClientPool.cpp
This commit is contained in:
parent
2bf5d29c76
commit
031bb0c518
@ -719,8 +719,9 @@ void HTTPSClientPool::startPolling() {
|
|||||||
auto server = clientPair.first.first;
|
auto server = clientPair.first.first;
|
||||||
auto port = clientPair.first.second;
|
auto port = clientPair.first.second;
|
||||||
LogWrite(PEERING__DEBUG, 5, "Peering", "%s: startPolling for %s:%s.", __FUNCTION__, server.c_str(), port.c_str());
|
LogWrite(PEERING__DEBUG, 5, "Peering", "%s: startPolling for %s:%s.", __FUNCTION__, server.c_str(), port.c_str());
|
||||||
|
std::async(std::launch::async, [this, server, port]() {
|
||||||
std::async(std::launch::async, &HTTPSClientPool::pollPeerHealth, this, server, port);
|
pollPeerHealth(server, port);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user