]> Sergey Matveev's repositories - public-inbox.git/commit
index: add --batch-size=SIZE option
authorEric Wong <e@yhbt.net>
Sun, 17 May 2020 19:37:21 +0000 (19:37 +0000)
committerEric Wong <e@yhbt.net>
Mon, 18 May 2020 02:38:03 +0000 (02:38 +0000)
commitc43813b9138398ed2de06c3616a5932725090ae3
tree7c64bf483be47ecf6fa54759670458b1d272fb72
parentf3482d4a19a8de47199fa18beb258deb699bf703
index: add --batch-size=SIZE option

On powerful systems, having this option is preferable to
XAPIAN_FLUSH_THRESHOLD due to lock granularity and contention
with other processes (-learn, -mda, -watch).

Setting XAPIAN_FLUSH_THRESHOLD can cause -learn, -mda, and
-watch to get stuck until an epoch is completely processed.
Documentation/public-inbox-index.pod
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm
script/public-inbox-index