Skip to content

Commit c8becea

Browse files
authored
tweak runnerListenAddress (#241)
1 parent a89f719 commit c8becea

File tree

2 files changed

+9
-80
lines changed

2 files changed

+9
-80
lines changed

packages/runner/src/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ const RunnerLayer = Layer.unwrapEffect(Effect.gen(function*() {
1313
const shardManagerHost = runnerIp === "localhost"
1414
? "localhost"
1515
: "shard-manager.internal"
16+
const listenHost = runnerIp === "localhost"
17+
? "localhost"
18+
: "fly-local-6pn"
1619
return NodeClusterRunnerSocket.layer({
1720
storage: "sql",
1821
shardingConfig: {
1922
runnerAddress: Option.some(RunnerAddress.make(runnerIp, 34431)),
23+
runnerListenAddress: Option.some(RunnerAddress.make(listenHost, 34431)),
2024
shardManagerAddress: RunnerAddress.make(shardManagerHost, 8080)
2125
}
2226
})

pnpm-lock.yaml

Lines changed: 5 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)