Browse Source

bump min aiorpcx to 0.8.2

3.3.3.1
SomberNight 7 years ago
parent
commit
deda6535e0
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      contrib/requirements/requirements.txt
  2. 2
      electrum/interface.py

2
contrib/requirements/requirements.txt

@ -6,6 +6,6 @@ protobuf
dnspython dnspython
jsonrpclib-pelix jsonrpclib-pelix
qdarkstyle<3.0 qdarkstyle<3.0
aiorpcx>=0.8.1,<0.9 aiorpcx>=0.8.2,<0.9
aiohttp aiohttp
aiohttp_socks aiohttp_socks

2
electrum/interface.py

@ -51,8 +51,6 @@ class NotificationSession(ClientSession):
self.subscriptions = defaultdict(list) self.subscriptions = defaultdict(list)
self.cache = {} self.cache = {}
self.in_flight_requests_semaphore = asyncio.Semaphore(100) self.in_flight_requests_semaphore = asyncio.Semaphore(100)
# disable bandwidth limiting (used by superclass):
self.bw_limit = 0
async def handle_request(self, request): async def handle_request(self, request):
# note: if server sends malformed request and we raise, the superclass # note: if server sends malformed request and we raise, the superclass

Loading…
Cancel
Save