perf: Improved IP validation performance for masterKeyIPs, maintenanceKeyIPs (#8510)

This commit is contained in:
Antoine Cormouls
2023-11-19 23:13:16 +01:00
committed by GitHub
parent 759731926f
commit b87daba067
5 changed files with 151 additions and 41 deletions

View File

@@ -75,6 +75,8 @@ class ParseServer {
const allControllers = controllers.getControllers(options);
options.state = 'initialized';
this.config = Config.put(Object.assign({}, options, allControllers));
this.config.masterKeyIpsStore = new Map();
this.config.maintenanceKeyIpsStore = new Map();
logging.setLogger(allControllers.loggerController);
}