Use one hour for background refreshing and syncing.

This commit is contained in:
Brent Simmons committed 2026-08-30 20:49:13 -07:00
1 parent 4ed99b52da
commit 0706193f25
1 file changed
+1 -1
+1 -1
View File
@@ -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)