Skip to content

Commit 16e5d3f

Browse files
committed
Fix incomplete env var rename in falcon.rb
PR #6531 renamed SERVICE_DIRECT_PORT to SERVICE_CONNECT_PORT in the guard condition but missed the reference inside the endpoint block, causing the secondary Falcon service to bind to a nil port.
1 parent 68acc2f commit 16e5d3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

falcon.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
endpoint do
7474
Async::HTTP::Endpoint.parse(
75-
"http://0.0.0.0:#{ENV["SERVICE_DIRECT_PORT"]}"
75+
"http://0.0.0.0:#{ENV["SERVICE_CONNECT_PORT"]}"
7676
).with(protocol: protocol)
7777
end
7878
end

0 commit comments

Comments
 (0)