소스 검색

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;