docs(history): fix stale comment about rollback on delete

This commit is contained in:
jamiepine
2026-10-04 00:19:41 +00:00
committed by capy-ai-staging[bot]
parent 7e9e88de18
commit 5803aaaa91
+2 -2
View File
@@ -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)