From f95a95b45f03de497ba83a8d5700eeb5d9730d92 Mon Sep 17 00:00:00 2001 From: Simon McLoughlin Date: Fri, 12 Jan 2024 12:39:11 +0000 Subject: [PATCH] change explore service back to checking no more than every 15 minutes --- Kukai Mobile/Services/ExploreService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kukai Mobile/Services/ExploreService.swift b/Kukai Mobile/Services/ExploreService.swift index 9a916d49..fb048d95 100644 --- a/Kukai Mobile/Services/ExploreService.swift +++ b/Kukai Mobile/Services/ExploreService.swift @@ -186,7 +186,7 @@ public class ExploreService { } // Request from API, no more frequently than once per day, else read cache - self.requestIfService.request(url: url, withBody: nil, ifElapsedGreaterThan: RequestIfService.TimeConstants.second.rawValue, forKey: exploreCacheKey, responseType: ExploreResponse.self, isSecure: true) { [weak self] result in + self.requestIfService.request(url: url, withBody: nil, ifElapsedGreaterThan: RequestIfService.TimeConstants.fifteenMinute.rawValue, forKey: exploreCacheKey, responseType: ExploreResponse.self, isSecure: true) { [weak self] result in guard let response = try? result.get() else { completion(Result.failure(result.getFailure())) return