MINOR: task: Also consider the task list size when getting global tasks.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 28 May 2018 12:53:08 +0000 (14:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 May 2018 13:20:59 +0000 (15:20 +0200)
commit082627af77bf062c94920a742269dfca241f62c8
tree3c7da063633a7efccef6326ca301c1a12094d4ab
parent736ea41c6c8dcb088a6d2bb8841f13c5c92d06d9
MINOR: task: Also consider the task list size when getting global tasks.

We're taking tasks from the global runqueue based on the number of tasks
the thread already have in its local runqueue, but now that we have a task
list, we also have to take that into account.
src/task.c