You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varnish's random() and hash() directors, require an additional argument in the add_backend() function (a weight, how often the added backend will be chosen).
however, the buildout generates something like:
sub vcl_init {
# configure directors for load balancing
new balancer_0 = directors.random();
balancer_0.add_backend(backend_000);
}
which will be invalid if the chosen balancer is hash() or random() (as in the example), in which case we would need:
sub vcl_init {
# configure directors for load balancing
new balancer_0 = directors.random();
balancer_0.add_backend(backend_000, 1.0);
}
The text was updated successfully, but these errors were encountered:
varnish's
random()
andhash()
directors, require an additional argument in theadd_backend()
function (a weight, how often the added backend will be chosen).however, the buildout generates something like:
which will be invalid if the chosen balancer is
hash()
orrandom()
(as in the example), in which case we would need:The text was updated successfully, but these errors were encountered: