]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: only load Xapian when a shard is found
authorEric Wong <e@yhbt.net>
Sun, 24 May 2020 03:06:37 +0000 (03:06 +0000)
committerEric Wong <e@yhbt.net>
Mon, 25 May 2020 09:12:19 +0000 (09:12 +0000)
commitd6763f26cd82cae90ced264cfa59d0163ee5180f
tree194159655047df6cd972a3233e3d5dbe167a1f98
parentb77d02aabb32a5a45e69701d2dcdc06ec53ef386
v2writable: only load Xapian when a shard is found

We don't need to load Xapian until we have a directory
which looks like a shard, otherwise we're wasting cycles
on memory when running short-lived processes.
lib/PublicInbox/V2Writable.pm