]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: fix --batch-size support
authorEric Wong <e@80x24.org>
Sat, 7 Nov 2020 10:57:00 +0000 (10:57 +0000)
committerEric Wong <e@80x24.org>
Sun, 8 Nov 2020 10:18:23 +0000 (10:18 +0000)
commitdf8e4a0612545d53672036641e9f076efc94c2f6
tree5d55aa95c60ae5ceed755e31fe020b1c319df308
parent3ba7c9fa4a083c439e768882c571c2026a981ca5
extindex: fix --batch-size support

Calling PublicInbox::Admin::index_prepare is required for
--batch-size (k|m|g) modifiiers and indexBatchSize in the config
file.  Otherwise, the default 1m batch size stuck and led
to unexpectedly bad performance on a machine which could index
v2 inboxes faster with larger batch sizes.
script/public-inbox-extindex