[bug] Call finalizeConfigWithRuntime after requireConfigWithRuntime to clean up after all 'config' loads in all node_modules

This commit is contained in:
Sergey Konovalov
2025-09-30 02:09:19 +03:00
parent 1ac47e9e32
commit 607a18b79b
4 changed files with 28 additions and 16 deletions

View File

@ -107,3 +107,6 @@ app.use((err, req, res, _next) => {
server.listen(port, () => {
operationContext.global.logger.warn('AdminPanel server listening on port %d', port);
});
//after all required modules in all files
moduleReloader.finalizeConfigWithRuntime();