Skip to content

reverseproxy: Allow 0 as weights for weighted_round_robin#6681

Merged
francislavoie merged 3 commits intocaddyserver:masterfrom
suciptoid:master
Nov 7, 2024
Merged

reverseproxy: Allow 0 as weights for weighted_round_robin#6681
francislavoie merged 3 commits intocaddyserver:masterfrom
suciptoid:master

Conversation

@suciptoid
Copy link
Contributor

This pull request resumes the work from #6388

@francislavoie francislavoie added the bug 🐞 Something isn't working label Nov 7, 2024
@francislavoie francislavoie added this to the v2.9.0-beta.4 milestone Nov 7, 2024
Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me.

Thanks to @peanutduck for the initial implementation as well.

@francislavoie francislavoie merged commit 825fe48 into caddyserver:master Nov 7, 2024
dcecile added a commit to dcecile/website that referenced this pull request Jan 3, 2025
The old restriction is lifted now that caddyserver/caddy#6681 is merged and released in 2.9.0
@dcecile
Copy link

dcecile commented Jan 3, 2025

I've opened a PR for the doc update: caddyserver/website#437

mholt pushed a commit to caddyserver/website that referenced this pull request Jan 3, 2025
The old restriction is lifted now that caddyserver/caddy#6681 is merged and released in 2.9.0
@mholt
Copy link
Member

mholt commented Jan 3, 2025

Thank you!

mohammed90 pushed a commit to cedricziel/caddy that referenced this pull request Aug 29, 2025
…erver#6681)

* Allow 0 as weights

Change positive to non-negative

* reverseproxy: allow 0 as weighted round robin value

* test: add more wrr select test

---------

Co-authored-by: peanutduck <peanutduck@yahoo.com>
@mohammed90 mohammed90 mentioned this pull request Oct 25, 2025
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐞 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants