Commit a150813d authored by Damon's avatar Damon

调整缓存时间为30天

parent 808eb958
......@@ -147,7 +147,7 @@
}
const data = cache.getCache(this.systemId)
const validityTime = 3600000 * 24 * 7 // 7天重新获取一次最新规范
const validityTime = 3600000 * 24 * 30 // 30天重新获取一次最新规范
this.loading = false
if (data.loadTime - Date.now() < validityTime) { // 有效期内,读取缓存
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment