commit | 555c192d14ce0bf3caefc0b1b38959e6b6f858a8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 23 18:31:08 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 01 19:15:14 2022 +0200 |
tree | 7fe0ddcfe691412c060639cf44a15da8184d73f3 | |
parent | 962e5ba72bc500d7d6e263c43a43da2069391214 [diff] |
MINOR: poller: update_fd_polling: wake a random other thread When enabling an FD that's only bound to another thread, instead of always picking the first one, let's pick a random one. This is rarely used (enabling a frontend, or session rate-limiting period ending), and has greater chances of avoiding that some obscure corner cases could degenerate into a poorly distributed load.