mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-04 01:25:18 -07:00
docs(history): fix stale comment about rollback on delete
This commit is contained in:
committed by
capy-ai-staging[bot]
parent
7e9e88de18
commit
5803aaaa91
@@ -295,8 +295,8 @@ async def delete_generation(
|
|||||||
if not generation:
|
if not generation:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Delete all version files and records; commit together with the
|
# Delete all version files and records; the rows are committed together
|
||||||
# generation row below so an unlink failure rolls everything back.
|
# with the generation row below (one commit for the whole delete).
|
||||||
_delete_generation_children(generation_id, db, commit=False)
|
_delete_generation_children(generation_id, db, commit=False)
|
||||||
|
|
||||||
# Delete main audio file (if not already removed by version cleanup)
|
# Delete main audio file (if not already removed by version cleanup)
|
||||||
|
|||||||
Reference in New Issue
Block a user