]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: preserve timestamps from import
authorEric Wong <e@yhbt.net>
Fri, 20 Mar 2020 08:18:14 +0000 (08:18 +0000)
committerEric Wong <e@yhbt.net>
Sun, 22 Mar 2020 09:00:23 +0000 (09:00 +0000)
commite5dbf0680cfbfa81bad38457c0430fd260dda682
tree4e4ef95e5b5ece80e4976a006f0d645bd3368f66
parent8e81d6f0d44198717ae540421a09824d75c9bb6d
v2writable: preserve timestamps from import

While v2 indexing is triggered immediately after writing the
commit to the git repository, there may be a gap between when
PublicInbox::Import generates a timestamp and when
PublicInbox::SearchIdx sees the message.  So follow the mirror
indexing behavior and take the to-be-indexed (time|date)stamps
directly from the git commit.
lib/PublicInbox/Import.pm
lib/PublicInbox/V2Writable.pm