spacewander commented on a change in pull request #3493:
URL: https://github.com/apache/apisix/pull/3493#discussion_r569084225
##########
File path: apisix/schema_def.lua
##########
@@ -323,7 +323,7 @@ local upstream_schema = {
type = {
description = "algorithms of load balancing",
type = "string",
- enum = {"chash", "roundrobin", "ewma", "least_conn"}
+ enum = {"chash", "roundrobin", "ewma", "least_conn", "swrr"}
Review comment:
The magical number `5` can be configured, so if we choice 0 the `swrr`
will be used instead.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]