Skip to content

Commit

Permalink
Update keepalive field for http upstreams (#311)
Browse files Browse the repository at this point in the history
* fix: update keepalive field for http upstreams

---------

Co-authored-by: Donal Hurley <[email protected]>
Co-authored-by: Venktesh Shivam Patel <[email protected]>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent 052c7d8 commit 56570a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,11 @@ type Upstreams map[string]Upstream

// Upstream represents upstream related stats.
type Upstream struct {
Zone string
Peers []Peer
Queue Queue
Keepalives int
Zombies int
Zone string
Peers []Peer
Queue Queue
Keepalive int
Zombies int
}

// StreamUpstreams is a map of stream upstream stats by upstream name.
Expand Down

0 comments on commit 56570a6

Please sign in to comment.