interface: disable bw rate limiting done by aiorpcx
This commit is contained in:
@@ -50,6 +50,8 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user