mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-04 09:35:16 -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:
|
||||
return False
|
||||
|
||||
# Delete all version files and records; commit together with the
|
||||
# generation row below so an unlink failure rolls everything back.
|
||||
# Delete all version files and records; the rows are committed together
|
||||
# with the generation row below (one commit for the whole delete).
|
||||
_delete_generation_children(generation_id, db, commit=False)
|
||||
|
||||
# Delete main audio file (if not already removed by version cleanup)
|
||||
|
||||
Reference in New Issue
Block a user