Skip to content

Commit

Permalink
Update META_stash.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xixu-me committed Nov 4, 2024
1 parent 76376f9 commit e46f7e9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions META_stash.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down Expand Up @@ -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()}`,
],
}));
}
Expand Down Expand Up @@ -458,14 +455,6 @@ const proxyGroups = [
strategy: "consistent-hashing",
}
),
...generateLocationPolicyProxyGroups(
locations,
locationPolicyProxyGroupDefaults,
"load-balance",
{
strategy: "sticky-sessions",
}
),
...generateLocationSelectProxyGroups(),
];

Expand Down

0 comments on commit e46f7e9

Please sign in to comment.