]> Sergey Matveev's repositories - public-inbox.git/commit
msgmap: tmp_clone: use MEMORY journal upon reconnect
authorEric Wong <e@yhbt.net>
Thu, 6 Aug 2020 10:37:10 +0000 (10:37 +0000)
committerEric Wong <e@80x24.org>
Thu, 6 Aug 2020 21:11:38 +0000 (21:11 +0000)
commit2bfbb5943abef7fb2d5db08f51cf498aecff3030
tree1852979b3a0f5896fd56819d832c48fe25584c6c
parent90ea51959df8076870bd5e9efdf1e433eca9f55c
msgmap: tmp_clone: use MEMORY journal upon reconnect

Since reindexing releases the DB handle every indexBatchSize bytes,
we need to ensure we keep the journal in-memory when reopening
the DB since this is throwaway data.
lib/PublicInbox/Msgmap.pm