Separate connection related data from host data

Split out host specific data from RegisterHostData that is not related
to the establishment of a connection to the controller into it's own
HostInfoUpdate event.  This allows this data to be updated when the
config values they are taken from are changed.
This commit is contained in:
Hornwitser committed 2024-01-15 22:19:38 +01:00
1 parent 790f880e98
commit 688ddc529b
8 files changed
+94 -42

No files matched your search

+2 -2
View File
@@ -261,11 +261,11 @@ ${err.stack}`
}
logger.info(
`WsServer | registered host ${data.name} (${data.id}) using version ${data.version}`
`WsServer | registered host ${data.id} using version ${data.version}`
);
if (data.version !== packageVersion) {
logger.warn(
`Host ${data.name} (${data.id}) connected using version ${data.version} which does not match the ` +
`Host ${data.id} connected using version ${data.version} which does not match the ` +
`version of the controller is currently running (${packageVersion}). It may not work as expected.`
);
}