mirror of
https://github.com/YunoHost/yunodevtools.git
synced 2024-09-03 20:16:19 +02:00
fix(clone_packages): 10 seconds default timeout was too short
This commit is contained in:
parent
145cd80f61
commit
d8c6d6f5ce
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def generate_mirror_list():
|
||||||
|
|
||||||
def request_handling_rate_limit(method, *args, **kwargs):
|
def request_handling_rate_limit(method, *args, **kwargs):
|
||||||
if "timeout" not in kwargs:
|
if "timeout" not in kwargs:
|
||||||
kwargs["timeout"] = 10
|
kwargs["timeout"] = 60
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
response = method(*args, **kwargs)
|
response = method(*args, **kwargs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue