Kucoin / kucoin-go-sdk

Go SDK for KuCoin API.
https://docs.kucoin.com
MIT License
113 stars 75 forks source link

Ping #106

Open mohamed-adly opened 3 years ago

mohamed-adly commented 3 years ago

As per documentation, "After the ping message is sent to the server, the system would return a pong message to the client side." from my understanding is that the pong respond is not guaranteed yet the client SDK always wait for it and close the connection after timeout and indeed i lose connection after a period of time

codewc commented 2 years ago

As per documentation, "After the ping message is sent to the server, the system would return a pong message to the client side." from my understanding is that the pong respond is not guaranteed yet the client SDK always wait for it and close the connection after timeout and indeed i lose connection after a period of time

Do you mean that there is no up-to-date data after running for a period of time? Are there any other phenomena or characteristics that will facilitate us to reproduce the situation you mentioned?

iamalanal commented 1 month ago

Is the issue solved?

ISAAC-XXYYZZ commented 1 month ago

Due to the current implementation's shortcomings, the handling of heartbeat maintenance is not optimal. We plan to refactor this code in future iterations. Please stay in touch