]> Sergey Matveev's repositories - public-inbox.git/commit
solver: check one git coderepo and inbox at a time
authorEric Wong <e@80x24.org>
Wed, 9 Sep 2020 06:26:17 +0000 (06:26 +0000)
committerEric Wong <e@80x24.org>
Thu, 10 Sep 2020 19:45:18 +0000 (19:45 +0000)
commit37df9d6964061f437e37646d8858ade4b6f13a24
treea029cc3af48aedb13bc8a132109ba6608924c3b0
parentf303b4add8ea18835f7f304910ba8fac3ee4f912
solver: check one git coderepo and inbox at a time

With public-inbox-httpd, this mitigates the effect of slow git
blob storage with multiple coderepos configured for an inbox.
It's still synchronous for now (and may need to remain that way
for ->last_check_err), but no longer monopolizes the event loop
when checking multiple coderepos.

We don't yet support multi-inbox scanning, yet; but this also
prepares us for a future where we do.

We'll also support >=40 char blob OIDs in preparation for future
git SHA-256 support, too.
lib/PublicInbox/SolverGit.pm
t/solver_git.t