[develop | DONE | CHANGED]: cache.js: Increased "cacheMaxSize" from 300 to 1000 requests.
This commit is contained in:
parent
3b058ee74d
commit
6af07478b4
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue