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

User-level DB lock in get_annotator_task to avoid race condition #375

Merged
merged 1 commit into from
May 22, 2023

Commits on May 16, 2023

  1. Acquire a row lock on the user before checking for an annotation task…

    …, since otherwise concurrent calls can cause a race condition and assign two different documents to the same user at the same time, causing errors later.
    
    Fixes #374
    ianroberts committed May 16, 2023
    Configuration menu
    Copy the full SHA
    89d0cd5 View commit details
    Browse the repository at this point in the history