]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: index_sync: reduce fill_alternates calls
authorEric Wong <e@yhbt.net>
Fri, 24 Jul 2020 05:55:50 +0000 (05:55 +0000)
committerEric Wong <e@yhbt.net>
Sat, 25 Jul 2020 20:48:18 +0000 (20:48 +0000)
commitfafd40fbe5ed0b022a2712cc1509e9600eb7333d
tree3efdbfb3650dc05b20b274d98fba34d6d12686b1
parentc386663dd9ffec6ebbe64e7bb5096ee3df7d273d
v2writable: index_sync: reduce fill_alternates calls

Instead of doing fill_alternates for every epoch we're indexing,
just do it once at the start of index_sync invocation.  This
will set us up for using a single "git cat-file" process for
indexing multiple epochs.
lib/PublicInbox/V2Writable.pm