[backend/queue] Fix sporadic background task queue errors

This commit is contained in:
Laura Hausmann 2024-06-28 18:54:29 +02:00
parent 03f34340cc
commit d6c3fb028f
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -94,8 +94,7 @@ public class BackgroundTaskQueue(int parallelism)
} }
} }
db.Remove(file); await db.DriveFiles.Where(p => p == file).ExecuteDeleteAsync(token);
await db.SaveChangesAsync(token);
} }
} }