]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: sched: fix leftover of debugging test in single-run changes
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Mar 2026 06:29:43 +0000 (07:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Mar 2026 06:29:43 +0000 (07:29 +0100)
There was a leftover of "activity[tid].ctr1++" in commit 7d40b3134
("MEDIUM: sched: do not run a same task multiple times in series")
that unfortunately only builds in development mode :-(

src/task.c

index 552a0df25dc012b263c7e23e674a688dd3540b5e..1cf9b6d3cea237725cdb0d5e945ef72bad19922f 100644 (file)
@@ -565,7 +565,6 @@ unsigned int run_tasks_from_lists(unsigned int budgets[])
 
                /* check if this task has already run during this loop */
                if ((uint16_t)t->last_run == (uint16_t)activity[tid].loops) {
-                       activity[tid].ctr1++;
                        budget_mask &= ~(1 << queue);
                        queue++;
                        continue;