-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using a single variable for nonces
When sending multiple requests in parallel, there is a chance they will be using the same nonce, as it's stored as a single string. Instead, convert to using a concurrenct queue and enqueue/dequeue as requests are going out and responses coming in.
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters