Open source video conferencing app powered by LiveKit. Built with Django and React.
🧵(backend) improve robustness of the delete file process
Florent Chehab8d653b30e569
diff --git a/src/backend/core/api/viewsets.py b/src/backend/core/api/viewsets.pyindex c3dd1b2b..f56dae11 100644--- a/src/backend/core/api/viewsets.py+++ b/src/backend/core/api/viewsets.py@@ -1326,7 +1326,7 @@ class FileViewSet("""Delete a file completely."""file.soft_delete()file.hard_delete()- process_file_deletion.delay(file.id)+ transaction.on_commit(lambda: process_file_deletion.delay(file.id))def _authorize_subrequest(self, request, pattern):"""