interface: disable bw rate limiting done by aiorpcx

This commit is contained in:
SomberNight 2018-09-12 22:58:36 +02:00
parent 2e18e3c62b
commit c40468a8d3
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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