Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #42 from slazarov/0.0.6.4
Browse files Browse the repository at this point in the history
Fix: syncing bug due to naming the connections.
  • Loading branch information
slazarov authored Feb 24, 2018
2 parents cb1a489 + 1ad465e commit 8bd4c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ if __name__ == "__main__":
main()
```
# Change log
0.0.6.4 - 24/02/2018
* Fixed order book syncing bug when more than 1 connection is online due to wrong connection/thread name.

0.0.6.3 - 18/02/2018
* Major changes to how the code handles order book syncing. Syncing is done significantly faster than previous versions, i.e full sync of all Bittrex tickers takes ca. 4 minutes.
* Fixed `on_open` bug as per [Issue #21](https://github.com/slazarov/python-bittrex-websocket/issues/21)
Expand Down
2 changes: 1 addition & 1 deletion bittrex_websocket/websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _handle_connect(self, conn_event):
:param conn_event: Contains the connection object.
:type conn_event: ConnectEvent
"""
thread = Thread(target=self._init_connection, args=(conn_event.conn_obj,), name='BittrexConnectionSetup')
thread = Thread(target=self._init_connection, args=(conn_event.conn_obj,))
self.threads[thread.getName()] = thread
conn_event.conn_obj.assign_thread(thread.getName())
self.connections.update({conn_event.conn_obj.id: conn_event.conn_obj})
Expand Down

0 comments on commit 8bd4c69

Please sign in to comment.