mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 10:43:13 +02:00
Fix bug where _requestLimit is stuck at 0
This commit is contained in:
parent
a448eb9109
commit
729fd96539
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ void Resource::handleReplyFinished() {
|
|||
const int MAX_ATTEMPTS = 8;
|
||||
const int BASE_DELAY_MS = 1000;
|
||||
if (++_attempts < MAX_ATTEMPTS) {
|
||||
QTimer::singleShot(BASE_DELAY_MS * (int)pow(2.0, _attempts), this, SLOT(attemptRequest()));
|
||||
QTimer::singleShot(BASE_DELAY_MS * (int)pow(2.0, _attempts), this, &Resource::makeRequest);
|
||||
retry = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue