ソースを参照

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;