]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks: make run_tasks_from_lists() scan the queues itself
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2020 08:17:29 +0000 (10:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2020 10:21:26 +0000 (12:21 +0200)
commit59153fef8659753e2d512d574b7107c5736d1920
tree2dd4a4f563544b5eab1537629a4a70902d415147
parentba48d5c8f9ad70894dcc8dc31fe49f0c3f58f55b
MINOR: tasks: make run_tasks_from_lists() scan the queues itself

Now process_runnable_tasks is responsible for calculating the budgets
for each queue, dequeuing from the tree, and calling run_tasks_from_lists().
This latter one scans the queues, picking tasks there and respecting budgets.
Note that its name was updated with a plural "s" for this reason.
include/haproxy/task.h
src/debug.c
src/task.c