浏览代码

Update Cache stdTTL

Nicolas Meienberger 3 年之前
父节点
当前提交
8638b83c58
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/system-api/src/config/cache.ts

+ 1 - 1
packages/system-api/src/config/cache.ts

@@ -1,5 +1,5 @@
 import cache from 'node-cache';
 
-const TipiCache = new cache();
+const TipiCache = new cache({ stdTTL: 7200 });
 
 export default TipiCache;