]> Sergey Matveev's repositories - public-inbox.git/commit
extmsg: remove expensive git path checks
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 18 Apr 2018 09:13:14 +0000 (09:13 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 18 Apr 2018 09:14:18 +0000 (09:14 +0000)
commitf86a714ac141e257b9bd50be81065e670cfb718b
tree17a8c85571a8bf6837999fb8a888ff769f0488c0
parent017fed7bc4d33ac474a19356994be5bd0bfe68ba
extmsg: remove expensive git path checks

Searching across different inboxes is expensive without
SQLite (or Xapian) installed, so avoid doing expensive tree
lookups in git.  Since SQLite is required for Xapian
support anyways, we won't need to check Xapian, either.

Sites without SQLite installed will simply 404 if somebody
requests a message which isn't in the current inbox.
lib/PublicInbox/ExtMsg.pm
lib/PublicInbox/Inbox.pm