diff --git a/AltStore/Model/InstalledApp.swift b/AltStore/Model/InstalledApp.swift index 6c5f2003..e552ed6f 100644 --- a/AltStore/Model/InstalledApp.swift +++ b/AltStore/Model/InstalledApp.swift @@ -99,7 +99,8 @@ extension InstalledApp class func fetchAppsForBackgroundRefresh(in context: NSManagedObjectContext) -> [InstalledApp] { - let date = Date().addingTimeInterval(-120) + // Date 6 hours before now. + let date = Date().addingTimeInterval(-1 * 6 * 60 * 60) let predicate = NSPredicate(format: "(%K < %@) AND (%K != %@)", #keyPath(InstalledApp.refreshedDate), date as NSDate,