mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-19 11:43:24 +01:00
Extends additional intent handling time to 9 seconds
This commit is contained in:
@@ -34,8 +34,9 @@ class IntentHandler: NSObject, RefreshAllIntentHandling
|
|||||||
completion(RefreshAllIntentResponse(code: .ready, userActivity: nil))
|
completion(RefreshAllIntentResponse(code: .ready, userActivity: nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Give ourselves 5 extra seconds before starting timeout timer.
|
// Give ourselves 9 extra seconds before starting handle() timeout timer.
|
||||||
self.queue.asyncAfter(deadline: .now() + 5.0) {
|
// 10 seconds or longer results in timeout regardless.
|
||||||
|
self.queue.asyncAfter(deadline: .now() + 9.0) {
|
||||||
self.finish(intent, response: RefreshAllIntentResponse(code: .ready, userActivity: nil))
|
self.finish(intent, response: RefreshAllIntentResponse(code: .ready, userActivity: nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user