xap_helper.h: remove _SC_NPROCESSORS_ONLN default
commit5aa2ba6d74c3f6a7f62a091e5df8346bb6d5b35a
authorEric Wong <e@80x24.org>
Wed, 24 Apr 2024 06:44:44 +0000 (24 06:44 +0000)
committerEric Wong <e@80x24.org>
Wed, 24 Apr 2024 21:34:45 +0000 (24 21:34 +0000)
tree3788be2959493045563eb3dfa300b3fba06d96e0
parent0d6d6d48197b3787a11c4e65f92d9e317c14f85b
xap_helper.h: remove _SC_NPROCESSORS_ONLN default

It's never straightforward to pick an ideal number of processes
for anything and Xapian helper processes are no exception since
there may be a massive disparities in CPU count and I/O
performance.  So default to a single worker for now in the C++
version since that's the default is for the Perl/(XS|SWIG)
version, and also the same as for our normal public-facing
daemons.

This keeps the behavior between the Perl+(XS|SWIG) and C++
version as similar as possible.
lib/PublicInbox/xap_helper.h