]> git.kaiwu.me - haproxy.git/commit
MINOR: haproxy: process signals before runnable tasks
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Jun 2020 10:06:34 +0000 (12:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jun 2020 12:21:46 +0000 (14:21 +0200)
commita7ad4aed6086995b4727777859be3f717295b7f1
treeee909eea651d5ab12b88e391a503f4940ebb052e
parent54067e9d3891a4566d5796d0205c46d9e167571e
MINOR: haproxy: process signals before runnable tasks

Nowadays signals cause tasks to be woken up. The historic code still
processes signals after tasks, which forces a second round in the loop
before they can effectively be processed. Let's move the signal queue
handling between wake_expired_tasks() and process_runnable_tasks() where
it makes much more sense.
src/haproxy.c