Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Fix the majority of verification race conditions #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Minion3665
Copy link
Member

There is currently a high potential for race conditions when multiple verifiers attempt to verify a user at the same time. This PR fixes the majority of these cases

Data races can probably still occur in the following cases:

  • If Discord is still adding the role when we fetch the user for the second time
  • If we don't all verify, for example if someone does a kick and someone else does a verify

These are substantially less likely than the common case, which has happened several times now

Data races can probably still occur in the following cases:
- If Discord is still adding the role when we fetch the user for the
  second time
- If we don't all verify, for example if someone does a kick and someone
  else does a verify

These are substantially less likely than the common case, which has
happened several times now
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant