Skip to content

Commit

Permalink
BUG/MINOR: properly set default value for queue timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Oct 19, 2022
1 parent 5f282a5 commit a267585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/haproxy/env/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func SetDefaults(defaults *models.Defaults) {
if defaults.ConnectTimeout == nil {
defaults.ConnectTimeout = utils.PtrInt64(5000) // 5s
}
if defaults.ConnectTimeout == nil {
if defaults.QueueTimeout == nil {
defaults.QueueTimeout = utils.PtrInt64(5000) // 5s
}
if defaults.ClientTimeout == nil {
Expand Down

0 comments on commit a267585

Please sign in to comment.