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

Fixes #152 by locking additional tasks to avoid an outer join for pg #189

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

cash
Copy link
Member

@cash cash commented Nov 1, 2022

There are currently two transactions in Turkle. One when accepting a task from a preview which did not need to be updated. The other when getting the next task - either automatically or when clicking the accept task button on the main page. For this latter one I review the filter on the user which was adding an outer join which postgres did not support. It should lock the same number of tasks for batches that are configured for a single annotation per task but more when configured for multiple annotations.

@cash cash merged commit d7391a8 into master Nov 1, 2022
@cash cash deleted the postgres branch November 1, 2022 15:45
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.

1 participant