about summary refs log tree commit homepage
path: root/unicorn.gemspec
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-16 09:24:57 +0000
committerEric Wong <bofh@yhbt.net>2020-04-16 09:25:31 +0000
commit221340c4ebc1566677a29551bf4be7c05fc64b07 (patch)
treed8abed8f73ea23ac52f45be186e521c01e8ad8a6 /unicorn.gemspec
parent00346227dfe91a6a11f95a679cef38940f79f12a (diff)
downloadunicorn-221340c4ebc1566677a29551bf4be7c05fc64b07.tar.gz
In setups with multiple listeners, it's possible for our greedy
select(2)-avoidance optimization to get pinned on a single, busy
listener and starve the other listener(s).

Prevent starvation by retrying the select(2)-avoidance
optimization if and only if all listeners were active.  This
should have no effect on the majority of deployments with only a
single listener.

Thanks to Stan Hu for reporting and testing.

Reported-by: Stan Hu <stanhu@gmail.com>
Tested-by: Stan Hu <stanhu@gmail.com>
Link: https://yhbt.net/unicorn-public/CAMBWrQ=Yh42MPtzJCEO7XryVknDNetRMuA87irWfqVuLdJmiBQ@mail.gmail.com/
Diffstat (limited to 'unicorn.gemspec')
0 files changed, 0 insertions, 0 deletions