Enhance OKX WebSocket client with improved task management and error handling
- Implemented enhanced task synchronization to prevent race conditions during WebSocket operations. - Introduced reconnection locking to avoid concurrent reconnection attempts. - Improved error handling in message processing and reconnection logic, ensuring graceful shutdown and task management. - Added unit tests to verify the stability and reliability of the WebSocket client under concurrent operations.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
"orderbook"
|
||||
],
|
||||
"timeframes": [
|
||||
"5s",
|
||||
"1m",
|
||||
"5m",
|
||||
"15m",
|
||||
@@ -42,6 +43,7 @@
|
||||
"orderbook"
|
||||
],
|
||||
"timeframes": [
|
||||
"5s",
|
||||
"1m",
|
||||
"5m",
|
||||
"15m",
|
||||
|
||||
Reference in New Issue
Block a user