For example: error GetDepth: timeout I want to capture the error in the robot and then do some processing. Can you also tell us about the handling of errors in the GetDepth interface? GetDepth: timeout error of one thread blocks other threads in case of multiple threads concurrently
sword10086How else to set the timeout value of the interface? And the HTTP request for GetDepth shouldn't be written as unclogged, right?
sword10086If the websocket can't receive the data, it gets blocked.
Inventors quantify - small dreamsHey, did you switch the websocket?
sword10086Solved; is okx's socket interface not good
Inventors quantify - small dreamsNo, not at all.
sword10086Isn't the Go function implemented by native multi-threaded?
Inventors quantify - small dreamsThe bandwidth effect should not be too great, native multi-threads in python are not possible, concurrent distribution must be done using the Go function, see the API documentation for more details.
sword10086I saw that it was supposed to be Ali Yun's bandwidth that wasn't enough.
Inventors quantify - small dreamsIn BotVS concurrency requires the use of the exchange.Go function to be implemented, without the native concurrency at the programming language level. The Go function creates several threads to complete the request. In addition, the program architecture is round-trip, and all logic is streamlined. Blocking processing. ### Did you say multi-threaded concurrency is implemented using the Go function? or is it native multi-threaded using Python?