fix: fetch api always returns retry limit exceeded
Fixes: 5492aee0d603a6de49d59e8800e30be45a66bfa9 (feature: new fetch api for retry)
This commit is contained in:
parent
a5911b670a
commit
1ca227b8be
@ -211,7 +211,7 @@ class NCMApi:
|
||||
if retry < 0:
|
||||
retry = 0
|
||||
|
||||
while retry < 0:
|
||||
while retry >= 0:
|
||||
try:
|
||||
return self._httpClient.send(request)
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user