1
0

Update HTTPSClientPool.cpp

This commit is contained in:
Emagi 2024-12-02 19:37:43 -05:00
parent 2bf5d29c76
commit 031bb0c518

View File

@ -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);
});
} }
} }