improve subscription performance
This commit is contained in:
parent
519614b2fd
commit
a4ec430ac0
1 changed files with 1 additions and 1 deletions
|
@ -1271,7 +1271,7 @@ class LBRYElectrumX(SessionBase):
|
||||||
hashXes = [
|
hashXes = [
|
||||||
(self.address_to_hashX(address), address) for address in addresses
|
(self.address_to_hashX(address), address) for address in addresses
|
||||||
]
|
]
|
||||||
return await asyncio.gather(*(self.hashX_subscribe(*args) for args in hashXes))
|
return [await self.hashX_subscribe(*args) for args in hashXes]
|
||||||
|
|
||||||
async def address_unsubscribe(self, address):
|
async def address_unsubscribe(self, address):
|
||||||
"""Unsubscribe an address.
|
"""Unsubscribe an address.
|
||||||
|
|
Loading…
Reference in a new issue