Skip to content

Commit

Permalink
example(issue-35): make simple grpc port more predictable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaba505 committed Dec 17, 2023
1 parent 9aacf30 commit 0b518ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/simple_grpc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func initRuntime(bc bedrock.BuildContext) (bedrock.Runtime, error) {
logHandler := slog.NewJSONHandler(os.Stderr, &slog.HandlerOptions{AddSource: true})

rt := brgrpc.NewRuntime(
brgrpc.ListenOnPort(0),
brgrpc.ListenOnPort(9080),
brgrpc.LogHandler(logHandler),
brgrpc.Service(
registerSimpleService,
Expand Down

0 comments on commit 0b518ec

Please sign in to comment.