]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/queue: do not check if a request is ready multiple times in a single event
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 4 Jan 2024 15:13:40 +0000 (00:13 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 4 Jan 2024 16:37:42 +0000 (01:37 +0900)
commit981278e1441ff9ee803c3c3b2efe6d17d482d986
treef95da40085ffa174376537526da68a7683352405
parent115d6abf879677199e9d0ab65a7b13f47e4b2453
network/queue: do not check if a request is ready multiple times in a single event

Some checks are slightly heavy, and there may be huge number of
interfaces. So, prcessing whole queue multiple times in a single event
may decrease the performance. Let's process the queued requests once per
event.
src/network/networkd-queue.c