Enable session affinity for canaries (#7371)

This commit is contained in:
wasker 2021-07-29 14:23:19 -07:00 committed by GitHub
parent a327a809d9
commit f222c752be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1021 additions and 322 deletions

View file

@ -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)