]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: task: Don't forget to decrement max_processed after each task.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 28 May 2018 12:54:49 +0000 (14:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 May 2018 13:20:57 +0000 (15:20 +0200)
commit736ea41c6c8dcb088a6d2bb8841f13c5c92d06d9
tree1d3f171035964accea3a75c035b73114340b18b9
parent09eeb7684d96c83eb1a189336dd341fa199860ac
BUG/MEDIUM: task: Don't forget to decrement max_processed after each task.

When the task list was introduced, we bogusly lost max_processed--, that means
we would execute as much tasks as present in the list, and we would never
set active_tasks_mask, so the thread would go to sleep even if more tasks were
to be executed.

1.9-dev only, no backport is needed.
src/task.c