mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 17:23:16 +03:00
chore: ignore queue retry error (#21069)
* chore: ignore queue retry error * remove items
This commit is contained in:
@@ -246,6 +246,12 @@ class DriftBackupNotifier extends StateNotifier<DriftBackupState> {
|
||||
}
|
||||
|
||||
case TaskStatus.failed:
|
||||
// Ignore retry errors to avoid confusing users
|
||||
if (update.exception?.description == 'Delayed or retried enqueue failed') {
|
||||
_removeUploadItem(taskId);
|
||||
return;
|
||||
}
|
||||
|
||||
final currentItem = state.uploadItems[taskId];
|
||||
if (currentItem == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user