-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace credential validation once with atomic bool (#3051)
The `once.Do` makes all threads wait on the execution of the `Do`. We now replace it with a comparison with an atomic bool - this should mean that all other threads will not wait for the credential validation.
- Loading branch information
1 parent
e89f018
commit a1ec31f
Showing
1 changed file
with
20 additions
and
16 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