Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/pathways/cluster/cluster-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ export class ClusterManager {
advertisedAddress: this.advertisedAddress,
})

// Register this instance
await this.coordinator.register(this.instanceId, this.advertisedAddress)
// Register this instance with full WebSocket URL
const wsAddress = `ws://${this.advertisedAddress}:${this.port}`
await this.coordinator.register(this.instanceId, wsAddress)

// Start WS server for accepting connections (both leader and worker need this)
await this.startWsServer()
Expand Down
Loading