Commit c3b99e22 authored by richardARPANET's avatar richardARPANET

Increase the wait time in between failed API request retries.

parent e0c5fbdf
......@@ -6,7 +6,7 @@ Release History
1.0.3 (unreleased)
------------------
- Nothing changed yet.
- Increase the wait time in between failed API request retries.
1.0.2 (2019-11-07)
......
......@@ -141,7 +141,7 @@ class Mega:
@retry(
retry=retry_if_exception_type(RuntimeError),
wait=wait_exponential(multiplier=1, min=1, max=20)
wait=wait_exponential(multiplier=2, min=2, max=30)
)
def _api_request(self, data):
params = {'id': self.sequence_num}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment