mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 07:14:20 +01:00
subscriptions: make generate sub_id more unique
This commit is contained in:
committed by
Jacob Plaster
parent
afbb4a670c
commit
3eb02910d2
@@ -56,7 +56,7 @@ class GenericWebsocket:
|
||||
async def _connect(self, host):
|
||||
async with websockets.connect(host) as websocket:
|
||||
self.ws = websocket
|
||||
self.logger.info("Wesocket connected to {}".format(self.host))
|
||||
self.logger.info("Wesocket connected to {}".format(host))
|
||||
while True:
|
||||
await asyncio.sleep(0)
|
||||
message = await websocket.recv()
|
||||
|
||||
Reference in New Issue
Block a user