tinterface: disable bw rate limiting done by aiorpcx - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit c40468a8d3d8111f1ef11d26200add4c26c16e12
DIR parent 2e18e3c62b5bbe43370175febe6a29d3149354de
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 12 Sep 2018 22:58:36 +0200
interface: disable bw rate limiting done by aiorpcx
Diffstat:
M electrum/interface.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/electrum/interface.py b/electrum/interface.py
t@@ -50,6 +50,8 @@ class NotificationSession(ClientSession):
self.subscriptions = defaultdict(list)
self.cache = {}
self.in_flight_requests_semaphore = asyncio.Semaphore(100)
+ # disable bandwidth limiting (used by superclass):
+ self.bw_limit = 0
async def handle_request(self, request):
# note: if server sends malformed request and we raise, the superclass