mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 23:53:13 +09:00
Forward player data to the instance a player is switching to
An upload can carry destinationInstanceId. Once the upload is stored, the controller sends the stored data, the upload merged with its copy, in a PrefetchEvent to that instance, if it is another running instance with player_sync enabled. No lock is taken or released. A failed send is logged and doesn't fail the upload. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
4128f75328
commit
b8c1e89dff
4 files changed
+124
-2
No files matched your search
@@ -114,6 +114,7 @@ export const plugin: lib.PluginDeclaration = {
|
||||
messages.ReleaseRequest,
|
||||
messages.UploadRequest,
|
||||
messages.DownloadRequest,
|
||||
messages.PrefetchEvent,
|
||||
messages.DatabaseStatsRequest,
|
||||
messages.ListPlayersRequest,
|
||||
messages.GetPlayerDataRequest,
|
||||
|
||||
Reference in new issue
Block a user