Fixed test findings.

This commit is contained in:
Alexander Maret-Huskinson 2019-08-30 19:08:03 +02:00
parent 881e352d68
commit 880b3dc5f1
4 changed files with 14 additions and 13 deletions

View file

@ -1,7 +1,7 @@
-- An affinity mode which makes sure connections are rebalanced when a deployment is scaled.
-- The advantage of this mode is that the load on the pods will be redistributed.
-- The drawback of this mode is that, when scaling up a deployment, roughly (n-c)/n users
-- will lose their session, where c is the current number of pods and n is the new number of
-- The drawback of this mode is that, when scaling up a deployment, roughly (n-c)/n users
-- will lose their session, where c is the current number of pods and n is the new number of
-- pods.
--
local balancer_sticky = require("balancer.sticky")
@ -27,7 +27,7 @@ function _M.new(self, backend)
setmetatable(o, self)
self.__index = self
balancer_sticky.sync(o, backend)
return o