mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Resending requests even if received FLOOD_WAIT_N, N >= 60.
This will fix the infinite large files downloading, because sometimes server replies with FLOOD_WAIT_N with N > 300, up to 900.
This commit is contained in:
@@ -224,7 +224,7 @@ namespace {
|
||||
}
|
||||
} else {
|
||||
secs = m.captured(1).toInt();
|
||||
if (secs >= 60) return false;
|
||||
// if (secs >= 60) return false;
|
||||
}
|
||||
uint64 sendAt = getms(true) + secs * 1000 + 10;
|
||||
DelayedRequestsList::iterator i = delayedRequests.begin(), e = delayedRequests.end();
|
||||
|
||||
Reference in New Issue
Block a user