[master] 10c29c5a7 clarify the shard_param example a bit
Nils Goroll
nils.goroll at uplex.de
Sun Jan 17 11:55:08 UTC 2021
commit 10c29c5a70e6c1a501581fa9cdc485197f270bd5
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sun Jan 17 12:53:55 2021 +0100
clarify the shard_param example a bit
diff --git a/vmod/vmod_directors.vcc b/vmod/vmod_directors.vcc
index ddcbf6a3a..1ea5ff79d 100644
--- a/vmod/vmod_directors.vcc
+++ b/vmod/vmod_directors.vcc
@@ -636,7 +636,7 @@ implement retries on alternative backends::
sub vcl_backend_fetch {
# changes dir_A and dir_B behaviour
- shard_param.set(alt=bereq.retries);
+ shard_param.set(alt=bereq.retries, by=URL);
}
$Method VOID .clear()
More information about the varnish-commit
mailing list