Skip to content

Commit

Permalink
Full Node Streaming default port 9092 (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfung-dydx committed Aug 15, 2024
1 parent 66e7d98 commit b960fe4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions protocol/app/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const (
DefaultGrpcStreamingMaxBatchSize = 2000
DefaultGrpcStreamingMaxChannelBufferSize = 2000
DefaultWebsocketStreamingEnabled = false
DefaultWebsocketStreamingPort = 9091
DefaultWebsocketStreamingPort = 9092
DefaultFullNodeStreamingSnapshotInterval = 0

DefaultVEOracleEnabled = true
Expand Down Expand Up @@ -134,7 +134,7 @@ func AddFlagsToCmd(cmd *cobra.Command) {
cmd.Flags().Uint16(
WebsocketStreamingPort,
DefaultWebsocketStreamingPort,
"Port for websocket full node streaming connections",
"Port for websocket full node streaming connections. Defaults to 9092.",
)
cmd.Flags().Bool(
VEOracleEnabled,
Expand Down
2 changes: 1 addition & 1 deletion protocol/app/flags/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func TestGetFlagValuesFromOptions(t *testing.T) {
expectedGrpcStreamingBatchSize: 2000,
expectedGrpcStreamingMaxChannelBufferSize: 2000,
expectedWebsocketEnabled: false,
expectedWebsocketPort: 9091,
expectedWebsocketPort: 9092,
expectedFullNodeStreamingSnapshotInterval: 0,
},
"Sets values from options": {
Expand Down
2 changes: 1 addition & 1 deletion protocol/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
ports:
- "26657:26657"
- "9090:9090"
- "9091:9091"
- "9092:9092" # full node streaming
- "1317:1317"

dydxprotocold1:
Expand Down

0 comments on commit b960fe4

Please sign in to comment.