Skip to content
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

Remove unnecessary global lock #1178

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

surik
Copy link
Contributor

@surik surik commented Sep 27, 2023

Describe your changes

As we do double-read of the account we don't global lock. Account lock should be enough here.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@surik surik merged commit c08a967 into main Sep 27, 2023
8 checks passed
@surik surik deleted the yury/remove-unnecessary-global-lock branch September 27, 2023 13:51
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants