Increase the wait time in between failed API request retries.

This commit is contained in:
Richard O'Dwyer 2019-11-18 20:58:37 +00:00
parent 8888282aff
commit 4d343f1b25
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ Release History
1.0.5 (unreleased)
------------------
- Nothing changed yet.
- Increase the wait time in between failed API request retries.
1.0.4 (2019-11-18)

View file

@ -141,7 +141,7 @@ class Mega:
@retry(
retry=retry_if_exception_type(RuntimeError),
wait=wait_exponential(multiplier=2, min=2, max=30)
wait=wait_exponential(multiplier=2, min=2, max=60)
)
def _api_request(self, data):
params = {'id': self.sequence_num}