mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
生产环境打包速度
This commit is contained in:
2
lib/cache/memory_cache.js
vendored
2
lib/cache/memory_cache.js
vendored
@@ -5,5 +5,5 @@ export async function getCacheFromMemory (key, options) {
|
||||
}
|
||||
|
||||
export async function setCacheToMemory (key, data) {
|
||||
await cache.put(key, data, 30 * 60 * 1000) // 30 minutes
|
||||
await cache.put(key, data, 60 * 1000) // 1 minutes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user