]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: default BATCH_BYTES to 8MB on 64-bit systems
authorEric Wong <e@80x24.org>
Wed, 30 Jun 2021 17:58:54 +0000 (17:58 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Jun 2021 21:27:47 +0000 (21:27 +0000)
commita23c5b9673a374b6abf4416824796cec5446dd9a
tree9262d0a85119c440c8add0609b209c01c1897c72
parente3a7014b7594e918901d803d9d966af70e8900e0
searchidx: default BATCH_BYTES to 8MB on 64-bit systems

This default seems closer to reasonable on 64-bit systems which
are the norm these days.  32-bit systems gain 48K so it's an
even 1 MB, but we need to keep 32-bit systems from using too
much since there's still some ancient systems out there with
small inboxes.
lib/PublicInbox/SearchIdx.pm