mirror of
https://git.luna-app.eu/50n50/sources
synced 2026-01-12 09:28:35 +01:00
Update animepahe/animepahe.js
This commit is contained in:
parent
fbbed00c89
commit
e90e56a163
1 changed files with 1 additions and 6 deletions
|
|
@ -236,14 +236,9 @@ class DdosGuardInterceptor {
|
|||
}
|
||||
|
||||
retries++;
|
||||
if (retries < maxRetries) {
|
||||
await new Promise(resolve => setTimeout(resolve, 500));
|
||||
}
|
||||
} catch (e) {
|
||||
retries++;
|
||||
if (retries < maxRetries) {
|
||||
await new Promise(resolve => setTimeout(resolve, 500));
|
||||
} else {
|
||||
if (retries >= maxRetries) {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue