Update META_stash.js

This commit is contained in:
xixu-me committed 2024-11-04 13:11:45 +08:00
1 parent 76376f9874
commit e46f7e94a7
1 file changed
-11
-11
View File
@@ -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(),
];