commit c40468a8d3d8111f1ef11d26200add4c26c16e12
parent 2e18e3c62b5bbe43370175febe6a29d3149354de
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 12 Sep 2018 22:58:36 +0200
interface: disable bw rate limiting done by aiorpcx
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/interface.py b/electrum/interface.py
@@ -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