summaryrefslogtreecommitdiff
path: root/src/nexusinterface.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-02-01 19:31:22 -0600
committerSilarn <jrim@rimpo.org>2019-02-18 21:31:19 -0600
commitf7220cdd2207ae67901c01684a951eb5fc1135fa (patch)
tree20cc1a6fb891cee3c9f4b0bc9ef827d324a1e519 /src/nexusinterface.cpp
parent2b5862ef0144d49e1927b5c914cbcea7183fab8a (diff)
Prevent runaway requests and fix info dialog description update display
Diffstat (limited to 'src/nexusinterface.cpp')
-rw-r--r--src/nexusinterface.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index 130a87b1..fee8a427 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -573,9 +573,8 @@ void NexusInterface::requestFinished(std::list<NXMRequestInfo>::iterator iter)
if (reply->error() != QNetworkReply::NoError) {
int statusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
if (statusCode == 429) {
- qWarning("Requests have hit the rate limit threshold and are now being throttled. This request will be retried.");
+ qWarning("All API requests have been consumed and are now being denied.");
qWarning("Error: %s", reply->errorString().toUtf8().constData());
- m_RequestQueue.enqueue(*iter);
} else {
qWarning("request failed: %s", reply->errorString().toUtf8().constData());
}