diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 52d14556..bc79b52a 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -49,12 +49,13 @@ spring: profiles: active: prod - boot: - admin: - context-path: /act zfile: cache: - timeout: 300 + auto-refresh: + enable: true # 是否开启自动刷新缓存. + delay: 1800 # 启动项目后多久开始自动刷新缓存, 推荐与 interval 一致, 因为项目启动时会缓存所有文件. + interval: 1800 # 任务间隔时间, 也就是每多长时间会自动刷新缓存一次. + timeout: 1800 constant: readme: readme.md password: password.txt @@ -67,15 +68,4 @@ zfile: clientId: 4a72d927-1907-488d-9eb2-1b465c53c1c5 clientSecret: Y9CEA=82da5n-y_]KAWAgLH3?R9xf7Uw redirectUri: https://zfile.jun6.net/onedrive/china-callback - scope: offline_access User.Read Files.ReadWrite.All - -jetcache: - statIntervalMinutes: 0 - areaInCacheName: false - local: - default: - type: caffeine - keyConvertor: fastjson - - - + scope: offline_access User.Read Files.ReadWrite.All \ No newline at end of file