]> git.kaiwu.me - haproxy.git/commit
CLEANUP: haload: factor out user scheduling into hld_usr_schedule()
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 29 Jul 2026 07:55:58 +0000 (09:55 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 30 Jul 2026 07:26:43 +0000 (09:26 +0200)
commit3f98de6cc53dae9f9a6911a0c6c58a0dc988e3a1
tree2db9da7607991eaa32725fc5354b1b49e4ce1fd8
parentca2ef0d72c03be6516725e92f4644f7537ae8c65
CLEANUP: haload: factor out user scheduling into hld_usr_schedule()

Factor out the task scheduling delay computation from <hld_strm_task>
into a dedicated inline helper <hld_usr_schedule>.

This improves code readability and allows re-using the user task
scheduling and throttling logic for upcoming features.
src/haload.c