settings optimalization

This commit is contained in:
Jan Prochazka
2021-04-29 11:28:32 +02:00
parent e647ab471e
commit 47ea474555
3 changed files with 15 additions and 9 deletions

View File

@@ -66,7 +66,7 @@ module.exports = {
if (newOpened.disconnected) return;
this.close(conid, false);
});
subprocess.send({ msgtype: 'connect', ...connection, globalSettings: await config.getSettings() });
subprocess.send({ msgtype: 'connect', ...connection, globalSettings: config.settingsValue });
return newOpened;
});
return res;