@@ -29,6 +29,7 @@ type versions []int
29
29
type UpstreamServer struct {
30
30
ID int `json:"id,omitempty"`
31
31
Server string `json:"server"`
32
+ MaxConns int `json:"max_conns"`
32
33
MaxFails int `json:"max_fails"`
33
34
FailTimeout string `json:"fail_timeout,omitempty"`
34
35
SlowStart string `json:"slow_start,omitempty"`
@@ -38,6 +39,7 @@ type UpstreamServer struct {
38
39
type StreamUpstreamServer struct {
39
40
ID int `json:"id,omitempty"`
40
41
Server string `json:"server"`
42
+ MaxConns int `json:"max_conns"`
41
43
MaxFails int `json:"max_fails"`
42
44
FailTimeout string `json:"fail_timeout,omitempty"`
43
45
SlowStart string `json:"slow_start,omitempty"`
@@ -156,7 +158,7 @@ type StreamZoneSync struct {
156
158
Status StreamZoneSyncStatus
157
159
}
158
160
159
- // SyncZone represents the syncronization status of a shared memory zone
161
+ // SyncZone represents the synchronization status of a shared memory zone
160
162
type SyncZone struct {
161
163
RecordsPending uint64 `json:"records_pending"`
162
164
RecordsTotal uint64 `json:"records_total"`
0 commit comments