From 91e909bc45e8b33b0a774c71ed28175243f0cccf Mon Sep 17 00:00:00 2001 From: Silarn Date: Sat, 2 Feb 2019 13:23:31 -0600 Subject: Request pools are not combined, we need to use the max of both pools. --- src/nexusinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp index 55201c2b..bc45d8f6 100644 --- a/src/nexusinterface.cpp +++ b/src/nexusinterface.cpp @@ -505,7 +505,7 @@ void NexusInterface::nextRequest() } } - if (m_RemainingDailyRequests + m_RemainingHourlyRequests <= 0) { + if (std::max(m_RemainingDailyRequests, m_RemainingHourlyRequests) <= 0) { m_RequestQueue.clear(); QTime time = QTime::currentTime(); QTime targetTime; -- cgit v1.3.1