[develop | DONE | CHANGED]: cache.js: Increased "cacheMaxSize" from 300 to 1000 requests.

This commit is contained in:
Konstantina Galouni 2024-02-12 13:29:23 +02:00
parent 3b058ee74d
commit 6af07478b4
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const properties = PropertiesReader('./properties.file');
const environment = properties.get("environment");
const preloadRequests = properties.get("preloadRequests").split(',');;
const cacheMaxSize = 300;
const cacheMaxSize = 1000;
let cors = require('cors');
app.use(cors());
const lruCache = new LRUCache({ max: cacheMaxSize });