Enable session affinity for canaries (#7371)
This commit is contained in:
parent
a327a809d9
commit
f222c752be
17 changed files with 1021 additions and 322 deletions
|
|
@ -68,6 +68,10 @@ function _M.new(self, backend)
|
|||
return o
|
||||
end
|
||||
|
||||
function _M.is_affinitized()
|
||||
return false
|
||||
end
|
||||
|
||||
function _M.balance(self)
|
||||
local key = util.generate_var_value(self.hash_by)
|
||||
local subset_id = self.instance:find(key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue