-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is okx thread safe? #4779
Comments
I wonder if it is to do with the enconder methods not being thread safe. According to java docs they are https://docs.oracle.com/javase/8/docs/api/java/util/Base64.Encoder.html Binance
okx
|
Think the issue might be with the mac object, looking over
to
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed a lot of okx requests get rejected with invaild sign when submitting multiple requests at same time.
Such issues don't happen on binace xchange implementation, they both seem to use the same decorator pattern, so wondering if there is something else here is not thread safe. Pointers welcomed on where the threading issue might be! Making the
public String digestParams(RestInvocation restInvocation)
synchronised seems a bit overkillpublic synchronized String digestParams(RestInvocation restInvocation)
Binance
The text was updated successfully, but these errors were encountered: