mark refresh task as success when processing task is running

This commit is contained in:
shenlong-tanwen 2026-04-22 22:37:30 +05:30
parent f0835d06f8
commit e61793fa9d

View File

@ -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)
}
}