[backend/queue] Fix sporadic background task queue errors
This commit is contained in:
parent
03f34340cc
commit
d6c3fb028f
1 changed files with 1 additions and 2 deletions
|
@ -94,8 +94,7 @@ public class BackgroundTaskQueue(int parallelism)
|
|||
}
|
||||
}
|
||||
|
||||
db.Remove(file);
|
||||
await db.SaveChangesAsync(token);
|
||||
await db.DriveFiles.Where(p => p == file).ExecuteDeleteAsync(token);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue