]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
*index: increase default --commit-interval to 15s
authorEric Wong <e@80x24.org>
Sat, 6 Sep 2025 19:45:06 +0000 (19:45 +0000)
committerEric Wong <e@80x24.org>
Sat, 6 Sep 2025 19:45:06 +0000 (19:45 +0000)
commitee4726bcf5357a8b364326a1e3ef90220710b21c
tree14e349f7fefc1342f383431c890aeff588b6a9c3
parent804322730c437434c3998dabae068d3c234dc818
*index: increase default --commit-interval to 15s

The DBD::SQLite(3pm) sqlite_busy_timeout is 30s and we don't
currently have a way to override this.  Thus 15s should be
adequate assuming we can keep SQLite commit times <10s.
Currently, the worst case commit times can exceed even 30s for
Xapian, but that doesn't affect over.sqlite3 which commits
fairly quickly.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/SearchIdx.pm