Skip to content

Commit f95a95b

Browse files
committed
change explore service back to checking no more than every 15 minutes
1 parent 9cf7c05 commit f95a95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Kukai Mobile/Services/ExploreService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public class ExploreService {
186186
}
187187

188188
// Request from API, no more frequently than once per day, else read cache
189-
self.requestIfService.request(url: url, withBody: nil, ifElapsedGreaterThan: RequestIfService.TimeConstants.second.rawValue, forKey: exploreCacheKey, responseType: ExploreResponse.self, isSecure: true) { [weak self] result in
189+
self.requestIfService.request(url: url, withBody: nil, ifElapsedGreaterThan: RequestIfService.TimeConstants.fifteenMinute.rawValue, forKey: exploreCacheKey, responseType: ExploreResponse.self, isSecure: true) { [weak self] result in
190190
guard let response = try? result.get() else {
191191
completion(Result.failure(result.getFailure()))
192192
return

0 commit comments

Comments
 (0)