Merge ~juliank/autopkgtest-cloud:sqlite3-backup-api into autopkgtest-cloud:master
Proposed by
Julian Andres Klode
Status: | Merged |
---|---|
Merge reported by: | Julian Andres Klode |
Merged at revision: | 3c4bc222d21a8f34ac8ab291f729c5ef2d32e374 |
Proposed branch: | ~juliank/autopkgtest-cloud:sqlite3-backup-api |
Merge into: | autopkgtest-cloud:master |
Diff against target: |
48 lines (+17/-9) 1 file modified
charms/focal/autopkgtest-web/webcontrol/publish-db (+17/-9) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dave Jones (community) | Approve | ||
Review via email: mp+402216@code.launchpad.net |
Description of the change
Code not run yet, needs testing on staging to make sure it works. Twice as slow as before, but this should take care of proper locking.
To post a comment you must log in.
Updated to run in steps of 16 pages, such that the lock can be released in between. The database currently has 17k iterations this way, giving plenty of time for other threads, maybe too wasteful (2/17k seconds per lock).