mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 18:10:16 +00:00
Use one hour for background refreshing and syncing.
This commit is contained in:
1 parent
4ed99b52da
commit
0706193f25
1 file changed
+1
-1
@@ -399,7 +399,7 @@ private extension AppDelegate {
|
||||
// task scheduler can hang indefinitely.
|
||||
backgroundTaskDispatchQueue.async {
|
||||
do {
|
||||
let earliestBeginInterval: TimeInterval = 15 * 60
|
||||
let earliestBeginInterval: TimeInterval = 60 * 60
|
||||
let request = BGAppRefreshTaskRequest(identifier: "com.ranchero.NetNewsWire.FeedRefresh")
|
||||
request.earliestBeginDate = Date(timeIntervalSinceNow: earliestBeginInterval)
|
||||
try BGTaskScheduler.shared.submit(request)
|
||||
|
||||
Reference in new issue
Block a user