mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-22 18:23:34 +02:00
increase timeout in fetching info instances
This commit is contained in:
parent
ebd4d14876
commit
25217ae98f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def fetch_instances_nodeinfo_and_avalaibility(instances):
|
|||
headers={
|
||||
'Accept-Encoding': 'gzip, brotli, deflate',
|
||||
'User-Agent': 'funkwhale-cli/latest-commit; +https://git.phreedom.club/localhost_frssoft/funkwhale-cli'},
|
||||
timeout=5).json()
|
||||
timeout=10).json()
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor() as executor: # optimally defined number of threads
|
||||
res = [executor.submit(request_nodeinfo, instance) for instance in instances]
|
||||
|
|
Loading…
Reference in a new issue