fix: workers correctly assing ws properties

This commit is contained in:
Socram03 2025-05-23 06:15:08 -04:00
parent 05cdc20d7f
commit 7998577b07

View File

@ -324,8 +324,8 @@ export class WorkerManager extends Map<
shards: this._info!.shards, shards: this._info!.shards,
}, },
properties: { properties: {
...properties,
...this.options.properties, ...this.options.properties,
...properties,
}, },
} satisfies ManagerSpawnShardsResharding); } satisfies ManagerSpawnShardsResharding);
} }
@ -340,8 +340,8 @@ export class WorkerManager extends Map<
shards: this.totalShards, shards: this.totalShards,
}, },
properties: { properties: {
...properties,
...this.options.properties, ...this.options.properties,
...properties,
}, },
} satisfies ManagerSpawnShards); } satisfies ManagerSpawnShards);
} }