From d428367b0d51f8486b05e7dce3dcc54bec46a78e Mon Sep 17 00:00:00 2001 From: Colby Ross Date: Tue, 19 Feb 2019 08:59:21 -0500 Subject: [PATCH] Make findroute more reliable. (#12) 800ms seems to be the magic number. --- QnetGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetGateway.cpp b/QnetGateway.cpp index c769b99..50d40c3 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -437,7 +437,7 @@ void CQnetGateway::GetIRCDataThread() if (doFind) { printf("Finding Routes for...\n"); for (auto it=findRoute.begin(); it!=findRoute.end(); it++) { - std::this_thread::sleep_for(std::chrono::milliseconds(200)); + std::this_thread::sleep_for(std::chrono::milliseconds(800)); printf("\t'%s'\n", it->c_str()); ii->findUser(*it); }