electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit c31fa798c2e74d3cc8edcc3097dc3ae07ce12ab2
parent 2b717a8cef315e5be3752f041dc435cd6605f75e
Author: SomberNight <somber.night@protonmail.com>
Date:   Mon, 22 Apr 2019 03:07:31 +0200

util make_aiohttp_session: use longer default timeout

same motivation as for 1110f13c62c7911e4e07c907594fa01e03088bcd

Diffstat:
Melectrum/util.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/util.py b/electrum/util.py @@ -965,7 +965,7 @@ def make_aiohttp_session(proxy: Optional[dict], headers=None, timeout=None): if headers is None: headers = {'User-Agent': 'Electrum'} if timeout is None: - timeout = aiohttp.ClientTimeout(total=10) + timeout = aiohttp.ClientTimeout(total=30) elif isinstance(timeout, (int, float)): timeout = aiohttp.ClientTimeout(total=timeout) ssl_context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH, cafile=ca_path)