From cd3971a8fee2e61337e040fc137c21c85b72836e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 8 Mar 2024 06:07:52 -0500 Subject: [PATCH] Bug 33898: Implement reaping for database polling Signed-off-by: Kyle M Hall Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer (cherry picked from commit e29e058851c1ffec5bcadab8bba357cd53142a2b) Signed-off-by: Fridolin Somers (cherry picked from commit da258a31950d53831292fdbcc54948ba3237c18c) Signed-off-by: Lucas Gass --- misc/workers/background_jobs_worker.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/workers/background_jobs_worker.pl b/misc/workers/background_jobs_worker.pl index 5b432ec11f..bfe126f099 100755 --- a/misc/workers/background_jobs_worker.pl +++ b/misc/workers/background_jobs_worker.pl @@ -192,6 +192,7 @@ while (1) { $pm->finish; } + $pm->reap_finished_children; sleep 10; } } -- 2.39.5