Skip to content

Commit c31fa79

Browse files
committed
util make_aiohttp_session: use longer default timeout
same motivation as for 1110f13
1 parent 2b717a8 commit c31fa79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electrum/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ def make_aiohttp_session(proxy: Optional[dict], headers=None, timeout=None):
965965
if headers is None:
966966
headers = {'User-Agent': 'Electrum'}
967967
if timeout is None:
968-
timeout = aiohttp.ClientTimeout(total=10)
968+
timeout = aiohttp.ClientTimeout(total=30)
969969
elif isinstance(timeout, (int, float)):
970970
timeout = aiohttp.ClientTimeout(total=timeout)
971971
ssl_context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH, cafile=ca_path)

0 commit comments

Comments
 (0)