mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 07:24:52 +09:00
Consistency changes
This commit is contained in:
3 files changed
+23
-17
No files matched your search
@@ -288,13 +288,9 @@ export default class HostConnection extends BaseConnection {
|
||||
}
|
||||
}
|
||||
// Hosts eagerly send updates, which means we may get an update
|
||||
// where nothing actualy changed.
|
||||
if (updates.length) {
|
||||
this._controller.saves.setMany(updates);
|
||||
}
|
||||
if (deletes.length) {
|
||||
this._controller.saves.deleteMany(deletes);
|
||||
}
|
||||
// where nothing actually changed.
|
||||
this._controller.saves.setMany(updates);
|
||||
this._controller.saves.deleteMany(deletes);
|
||||
}
|
||||
|
||||
async handleLogMessageEvent(event: lib.LogMessageEvent) {
|
||||
|
||||
Reference in new issue
Block a user