summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2023-05-05 22:53:48 -0400
committerGitHub <noreply@github.com>2023-05-05 20:53:48 -0600
commitb19946f6af75a00bb1f3d094a903224541a70fcd (patch)
treea868baf63d177883a0343c31d9ee6daaa07aa3c0 /internal
parent335cd2e8a4f2a91cb2c55a6c2e624a4c4ccddb0c (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 'internal')
0 files changed, 0 insertions, 0 deletions