mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: Increase API's maxAge to 1 day
This commit is contained in:
parent
9f85450c6c
commit
5d296038b7
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class GithubAPI {
|
|||
final Dio _dio = Dio();
|
||||
final DioCacheManager _dioCacheManager = DioCacheManager(CacheConfig());
|
||||
final Options _cacheOptions = buildCacheOptions(
|
||||
const Duration(hours: 1),
|
||||
const Duration(days: 1),
|
||||
maxStale: const Duration(days: 7),
|
||||
);
|
||||
final Map<String, String> repoAppPath = {
|
||||
|
|
|
@ -13,7 +13,7 @@ class RevancedAPI {
|
|||
final Dio _dio = Dio();
|
||||
final DioCacheManager _dioCacheManager = DioCacheManager(CacheConfig());
|
||||
final Options _cacheOptions = buildCacheOptions(
|
||||
const Duration(hours: 1),
|
||||
const Duration(days: 1),
|
||||
maxStale: const Duration(days: 7),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue