diff options
author | Francis Lavoie <lavofr@gmail.com> | 2023-05-05 22:53:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 20:53:48 -0600 |
commit | b19946f6af75a00bb1f3d094a903224541a70fcd (patch) | |
tree | a868baf63d177883a0343c31d9ee6daaa07aa3c0 /caddytest/integration/testdata/cookie.html | |
parent | 335cd2e8a4f2a91cb2c55a6c2e624a4c4ccddb0c (diff) |
reverseproxy: Optimize base case for least_conn and random_choose policies (#5487)
When only a single request has the least amount of requests, there's no need to compute a random number, because the modulo of 1 will always be 0 anyways.
Diffstat (limited to 'caddytest/integration/testdata/cookie.html')
0 files changed, 0 insertions, 0 deletions