Enable session affinity for canaries (#7371)
This commit is contained in:
parent
a327a809d9
commit
f222c752be
17 changed files with 1021 additions and 322 deletions
|
|
@ -170,6 +170,10 @@ local function calculate_slow_start_ewma(self)
|
|||
return total_ewma / endpoints_count
|
||||
end
|
||||
|
||||
function _M.is_affinitized()
|
||||
return false
|
||||
end
|
||||
|
||||
function _M.balance(self)
|
||||
local peers = self.peers
|
||||
local endpoint, ewma_score = peers[1], -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue