Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Dec 13, 2024
1 parent b282d0e commit a71c718
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,8 @@ async def delete_file(
)
except S3KeyNotFoundError:
_logger.warning("File %s not found in S3", file_id)
# we still need to clean up the database entry (it exists)
# and to invalidate the size of the parent directory

async with self.engine.acquire() as conn:
await db_file_meta_data.delete(conn, [file_id])
Expand Down

0 comments on commit a71c718

Please sign in to comment.