From cccff5cbaf8e9800dbcb67dd497586bdb0a8521e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 25 Apr 2024 21:31:46 +0000 Subject: daemon: share and allow configuring Xapian helpers Xapian helper processes are disabled by default once again. However, they can be enabled via the new `-X INTEGER' parameter. One big positive is the Xapian helpers being spawned by the top-level daemon means they can be shared freely across all workers for improved load balancing and memory reduction. --- Makefile.PL | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 2b2e6b18..27fe02ff 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -255,6 +255,12 @@ check-run : check-man # GNU and *BSD both allow it. check-run_T_ARGS = -j\$(N) +check-xh0 : + \$(MAKE) check-run TEST_DAEMON_XH='-X0' + +check-xh1 : + \$(MAKE) check-run TEST_DAEMON_XH='-X1' + check-debris check-run : pure_all \$(EATMYDATA) \$(PROVE) -bvw xt/\$@.t :: \$(\$\@_T_ARGS) -@\$(check_manifest) -- cgit v1.2.3-24-ge0c7