diff --git a/lib/cache/memory_cache.js b/lib/cache/memory_cache.js index 958bab11..6bb76edd 100644 --- a/lib/cache/memory_cache.js +++ b/lib/cache/memory_cache.js @@ -1,7 +1,7 @@ import cache from 'memory-cache' import BLOG from 'blog.config' -const cacheTime = BLOG.isProd ? 10 : 120 * 60 // 120 minutes for dev,10 minutes for prod +const cacheTime = BLOG.isProd ? 20 : 120 * 60 // 120 minutes for dev,10 minutes for prod export async function getCacheFromMemory (key, options) { return cache.get(key)