commit | b88ae180211bfde0e77e006aabd0f879239db0ae | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 29 16:58:30 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 29 17:18:11 2020 +0200 |
tree | 899944dcf7cc1d11dcbe81cbabbe7e824f2bb4ce | |
parent | 9d85eb02d563029f5435238fd2fb45012fcafec5 [diff] |
OPTIM: backend/random: never queue on the server, always on the backend If random() returns a server whose maxconn is reached or the queue is used, instead of adding the request to the server's queue, better add it to the backend queue so that it can be served by any server (hence the fastest one).