Skip to content

Conversation

@simonwicky
Copy link
Contributor

@simonwicky simonwicky commented Dec 18, 2025

Getting tickets from credential storage requires a transaction doing a read and then a write.
Running registration in parallel was causing sqlite to return errors, because it can't escalate two transactions, only one.

Fix : Declare said transaction as a write from the start, and the second one will wait for the first to complete


This change is Reviewable

@simonwicky simonwicky merged commit d08da7f into develop Dec 18, 2025
18 of 20 checks passed
@simonwicky simonwicky deleted the simon/registration_locked_db_fix branch December 18, 2025 15:53
jmwample pushed a commit that referenced this pull request Jan 7, 2026
* well that was an easy fix

* change fn name because somebody wasn't happy about my one line fix
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.

3 participants