mirror of
https://github.com/immich-app/immich.git
synced 2026-04-24 18:19:51 -04:00
mark refresh task as success when processing task is running
This commit is contained in:
parent
f0835d06f8
commit
e61793fa9d
@ -73,7 +73,7 @@ class BackgroundWorkerApiImpl: BackgroundWorkerFgHostApi {
|
||||
// Restrict the refresh task to run only for a maximum of (maxSeconds) seconds
|
||||
runBackgroundWorker(task: task, taskType: .refresh, maxSeconds: 20)
|
||||
} else {
|
||||
task.setTaskCompleted(success: false)
|
||||
task.setTaskCompleted(success: true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user