Concurrency refactor 999 (#1029)

* Working on making export threadsafe, #999

* Working on making export threadsafe, #999

* refactor for concurrent export, #999

* Fixed race condition in ExportRecord context manager
This commit is contained in:
Rhet Turnbull
2023-04-01 09:39:08 -07:00
committed by GitHub
parent 2c4d0f4546
commit e7099d250b
18 changed files with 1453 additions and 676 deletions

View File

@@ -4631,7 +4631,7 @@ def test_export_force_update():
conn = sqlite3.connect(dbpath)
c = conn.cursor()
except sqlite3.Error as e:
pytest.exit(f"An error occurred opening sqlite file")
pytest.exit("An error occurred opening sqlite file")
# photo is IMG_4547.jpg
c.execute(