Update META_stash.js
This commit is contained in:
1 parent
76376f9874
commit
e46f7e94a7
1 file changed
-11
@@ -335,8 +335,6 @@ function generateLocationPolicyProxyGroups(
|
||||
return "LOAD BALANCING (consistent hashing)";
|
||||
case "round-robin":
|
||||
return "LOAD BALANCING (round-robin)";
|
||||
case "sticky-sessions":
|
||||
return "LOAD BALANCING (sticky sessions)";
|
||||
default:
|
||||
return "LOAD BALANCING";
|
||||
}
|
||||
@@ -371,7 +369,6 @@ function generateLocationSelectProxyGroups() {
|
||||
`FALLBACK ${name.split(" ").pop()}`,
|
||||
`LOAD BALANCING (consistent hashing) ${name.split(" ").pop()}`,
|
||||
`LOAD BALANCING (round-robin) ${name.split(" ").pop()}`,
|
||||
`LOAD BALANCING (sticky sessions) ${name.split(" ").pop()}`,
|
||||
],
|
||||
}));
|
||||
}
|
||||
@@ -458,14 +455,6 @@ const proxyGroups = [
|
||||
strategy: "consistent-hashing",
|
||||
}
|
||||
),
|
||||
...generateLocationPolicyProxyGroups(
|
||||
locations,
|
||||
locationPolicyProxyGroupDefaults,
|
||||
"load-balance",
|
||||
{
|
||||
strategy: "sticky-sessions",
|
||||
}
|
||||
),
|
||||
...generateLocationSelectProxyGroups(),
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user