diff options
author | Eric Wong <e@80x24.org> | 2021-01-19 09:34:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-21 03:29:06 +0000 |
commit | 90de75619d2ec8a59c265fd8f2c6cc1d4a7daba2 (patch) | |
tree | 85b0430774b3dd7f90aefb4d7c74238af22de2ff /lib/PublicInbox/Spawn.pm | |
parent | 935f837e759f03ed48d369ab97517b8b03662ba3 (diff) | |
download | public-inbox-90de75619d2ec8a59c265fd8f2c6cc1d4a7daba2.tar.gz |
lei q: start ->mset while query_prepare runs
We don't need the result of query_prepare (for augmenting or mass unlinking) until we're ready to deduplicate and write results to the filesystem. This ought to let us hide some of the cost of Xapian searches on multi-device/core systems for extremely expensive searches.
Diffstat (limited to 'lib/PublicInbox/Spawn.pm')
-rw-r--r-- | lib/PublicInbox/Spawn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm index b03f2d59..376d2190 100644 --- a/lib/PublicInbox/Spawn.pm +++ b/lib/PublicInbox/Spawn.pm @@ -209,7 +209,7 @@ my $fdpass = <<'FDPASS'; #include <sys/socket.h> #if defined(CMSG_SPACE) && defined(CMSG_LEN) -#define SEND_FD_CAPA 5 +#define SEND_FD_CAPA 6 #define SEND_FD_SPACE (SEND_FD_CAPA * sizeof(int)) union my_cmsg { struct cmsghdr hdr; |