mirror of
https://github.com/immich-app/immich.git
synced 2025-11-04 11:33:11 -05:00
chore: ignore queue retry error (#21069)
* chore: ignore queue retry error * remove items
This commit is contained in:
parent
379c73818a
commit
c443ab854c
@ -29,6 +29,8 @@
|
|||||||
android:icon="@mipmap/ic_launcher" android:requestLegacyExternalStorage="true"
|
android:icon="@mipmap/ic_launcher" android:requestLegacyExternalStorage="true"
|
||||||
android:largeHeap="true" android:enableOnBackInvokedCallback="false" android:allowBackup="false">
|
android:largeHeap="true" android:enableOnBackInvokedCallback="false" android:allowBackup="false">
|
||||||
|
|
||||||
|
<profileable android:shell="true" />
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name="androidx.work.impl.foreground.SystemForegroundService"
|
android:name="androidx.work.impl.foreground.SystemForegroundService"
|
||||||
android:directBootAware="false"
|
android:directBootAware="false"
|
||||||
|
|||||||
@ -246,6 +246,12 @@ class DriftBackupNotifier extends StateNotifier<DriftBackupState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case TaskStatus.failed:
|
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];
|
final currentItem = state.uploadItems[taskId];
|
||||||
if (currentItem == null) {
|
if (currentItem == null) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user