]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tasks: Don't forget to increase/decrease tasks_run_queue.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 28 May 2018 11:51:06 +0000 (13:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 May 2018 13:20:55 +0000 (15:20 +0200)
commit09eeb7684d96c83eb1a189336dd341fa199860ac
tree0e68d2c29b0c06313d27eaa7b8d993ef4fa7e519
parent1b0f85e47f7588682a2356386edcad9d99282ffe
BUG/MEDIUM: tasks: Don't forget to increase/decrease tasks_run_queue.

Don't forget to increase tasks_run_queue when we're adding a task to the
tasklet list, and to decrease it when we remove a task from a runqueue,
or its value won't be accurate, and could lead to tasks not being executed
when put in the global run queue.

1.9-dev only, no backport is needed.
include/proto/task.h