[cache | develop | DONE | CHANGED]: cache.js: Increased time of short cache from 2 minutes to 1 hour.

This commit is contained in:
Konstantina Galouni 2024-02-02 12:12:57 +02:00
parent cca45918d8
commit 3678f7c5ea
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const prom = require('prom-client');
const URL = require('url');
var PropertiesReader = require('properties-reader');
var properties = PropertiesReader('./properties.file');
const expireShort = 2 * 60 * 1000; //2mins
const expireShort = 60 * 60 * 1000 // 1 hour //2 * 60 * 1000; //2mins
const expireLong = 24 * 60 * 60 * 1000; //24 hours
const cacheMaxSize = 500;
const longCachingRequests = ["/communityFull", "/full", "/pagehelpcontent",