Explorar o código

Update Cache stdTTL

Nicolas Meienberger %!s(int64=3) %!d(string=hai) anos
pai
achega
8638b83c58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;