project-origin / wallet

OpenSource project to create a Wallet to hold Granular Certificates in the registries.
https://project-origin.github.io/docs/wallet
Apache License 2.0
4 stars 1 forks source link

Add FOR UPDATE in reserve slices to handle contention #374

Closed MartinSchmidt closed 1 week ago

MartinSchmidt commented 1 week ago

This pull request adds the FOR UPDATE clause to the SQL queries in the reserve slices function. This is done to handle contention issues when multiple transactions try to reserve the same slices simultaneously.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud