From 1f70699ae30d75538df76b2eea08bf4dab4e4ce6 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sat, 8 Nov 2025 17:21:31 -0500 Subject: [PATCH] feat: update domain connection retry logic to improve handshake request handling --- src/OverteClient.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OverteClient.cpp b/src/OverteClient.cpp index a7bcf0b..ce5802a 100644 --- a/src/OverteClient.cpp +++ b/src/OverteClient.cpp @@ -213,8 +213,9 @@ void OverteClient::poll() { } // Request domain list periodically if not connected - if (!m_domainConnected && std::chrono::duration_cast(now - lastDomainList).count() >= 2) { - std::cout << "[OverteClient] Retrying domain list request..." << std::endl; + if (!m_domainConnected && std::chrono::duration_cast(now - lastDomainList).count() >= 3) { + std::cout << "[OverteClient] Retrying domain handshake..." << std::endl; + sendDomainConnectRequest(); sendDomainListRequest(); lastDomainList = now; }