Skip to content

Commit

Permalink
MINOR: add log-bufsize option to server params
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Gramer <[email protected]>
  • Loading branch information
vgramer authored and mjuraga committed Nov 29, 2023
1 parent 8967523 commit 1c7b68a
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions params/server-options.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func getServerOptions() []ServerOption {
&ServerOptionValue{Name: "weight"},
&ServerOptionValue{Name: "pool-low-conn"},
&ServerOptionValue{Name: "ws"},
&ServerOptionValue{Name: "log-bufsize"},
}
}

Expand Down
8 changes: 8 additions & 0 deletions tests/configs/haproxy_generated.cfg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/default-server_generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions tests/integration/backend_data_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions tests/integration/backend_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tests/integration/defaults_data_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/integration/defaults_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tests/integration/peers_data_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/integration/peers_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/server_generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ type CPUMap struct {
//test:ok:default-server ws h1
//test:ok:default-server ws h2
//test:ok:default-server ws auto
//test:ok:default-server log-bufsize 10
//test:fail:default-server
type DefaultServer struct {
Params []params.ServerOption
Expand Down Expand Up @@ -1047,6 +1048,7 @@ type Peer struct {
//test:ok:server name 127.0.0.1 ws h1
//test:ok:server name 127.0.0.1 ws h2
//test:ok:server name 127.0.0.1 ws auto
//test:ok:server name 127.0.0.1 log-bufsize 10
//test:fail:server
type Server struct {
Name string
Expand Down

0 comments on commit 1c7b68a

Please sign in to comment.