Skip to content

Commit

Permalink
#601 Added track_remaining setting
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Mar 15, 2024
1 parent 76427f4 commit 263f040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ class Threshold(var priority: String) {
var maxPendingRequests = 1024
var maxRequests = 1024
var maxRetries = 3
var trackRemaining = false
}

class Http2Properties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ class EnvoyClustersFactory(
"HIGH" -> thresholdsBuilder.priority = RoutingPriority.HIGH
else -> thresholdsBuilder.priority = RoutingPriority.UNRECOGNIZED
}
thresholdsBuilder.setTrackRemaining(threshold.trackRemaining)
return thresholdsBuilder.build()
}

Expand Down

0 comments on commit 263f040

Please sign in to comment.