commit | 1cfac37b654f569b629f5380dafb7b5a129789cf | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Wed Apr 17 22:53:41 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 18 10:11:13 2019 +0200 |
tree | 01147982711ad019324ab5e85d2dac11090849d8 | |
parent | 3f795f76e87549183ee2985754857e23750d7e5f [diff] |
MEDIUM: tasks: Don't account a destroyed task as a runned task. In process_runnable_tasks(), if the task we're about to run has been destroyed, and should be free, don't account for it in the number of task we ran. We're only allowed a maximum number of tasks to run per call to process_runnable_tasks(), and freeing one shouldn't take the slot of a valid task.