Skip to content

Commit

Permalink
Merge pull request #147 from jefft0/chore/NewBridge-WithTcpAddr-local…
Browse files Browse the repository at this point in the history
…host-0

chore: In NewBridge, for UseTcpListener, use addr localhost:0
  • Loading branch information
jefft0 authored Jun 24, 2024
2 parents a519acd + 78624f0 commit 0b6e1b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/service/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func NewBridge(config *BridgeConfig) (*Bridge, error) {

if config.UseTcpListener {
svcOpts = append(svcOpts, service.WithUseTcpListener())
svcOpts = append(svcOpts, service.WithTcpAddr("localhost:0"))
}

if config.DisableUdsListener {
Expand Down

0 comments on commit 0b6e1b2

Please sign in to comment.