about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiP2q.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-26 09:51:23 +0000
committerEric Wong <e@80x24.org>2021-03-26 21:51:30 +0000
commit4aaf4890790f32e7bb1a091cbb7fe40cb0abe90e (patch)
tree6530776c106f1591855561ffeac2f5a69cd8a306 /lib/PublicInbox/LeiP2q.pm
parent90ca1ac28edb2e8a64c30bb4be723643c646df89 (diff)
downloadpublic-inbox-4aaf4890790f32e7bb1a091cbb7fe40cb0abe90e.tar.gz
lei q: skip lei/store->write_prepare for JSON outputs
JSON outputs won't write to lei/store at all, so there's
no point in forking the store worker if it's not already
running.

LeiSearch object ($lse) is also fork-safe until it opens a
persistent FD for Xapian/SQLite so we can unconditionally
carry it across fork.
Diffstat (limited to 'lib/PublicInbox/LeiP2q.pm')
0 files changed, 0 insertions, 0 deletions