[cache | develop | DONE | CHANGED]: cache.js: Increased time of short cache from 2 minutes to 1 hour.
This commit is contained in:
parent
cca45918d8
commit
3678f7c5ea
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue