mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
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:
1 parent
790f880e98
commit
688ddc529b
8 files changed
+94
-42
No files matched your search
@@ -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.`
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user