]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
*index: support --commit=$SECONDS to adjust the commit interval
authorEric Wong <e@80x24.org>
Fri, 29 Aug 2025 19:04:01 +0000 (19:04 +0000)
committerEric Wong <e@80x24.org>
Mon, 1 Sep 2025 18:35:42 +0000 (18:35 +0000)
commit660fb7381d69f47695e978e2257223545594dd70
tree55450c79d2aa502f2ad2023a05c3614557b71d08
parent475ec011de6df898a4210ac323ca1125434453c5
*index: support --commit=$SECONDS to adjust the commit interval

The default 5s interval is too low for initial indexing with
gian inboxes or extindices which aren't ready for public
consumption, yet.  It's also too low for --wal users since
WAL mode of SQLite (by default) allows readers to proceed
without waiting on a writer.

I'm not sure what the defaults should be, so allow users to
change it, for now.
lib/PublicInbox/SearchIdx.pm
script/public-inbox-cindex
script/public-inbox-convert
script/public-inbox-extindex
script/public-inbox-index
script/public-inbox-xcpdb