]> Sergey Matveev's repositories - public-inbox.git/commit - lib/PublicInbox/Git.pm
git: async: loop inflight checks for nested callbacks
authorEric Wong <e@80x24.org>
Fri, 16 Oct 2020 06:59:34 +0000 (06:59 +0000)
committerEric Wong <e@80x24.org>
Fri, 16 Oct 2020 17:15:26 +0000 (17:15 +0000)
commit28704f95181f193e20856b7b52454e8cf0e57a57
treee683742b2525ebc55d5f2938b27313368d08fd7d
parent2484555ea1a2b5d0af4be5840a92605d9dbb7930
git: async: loop inflight checks for nested callbacks

We need to loop the inflight check for nested callback
invocations to ensure we don't clog the pipe that feeds
`git cat-file'.

This bug was obscured by the fact that we're already
accounting for 64-char git OIDs with SHA-256 in the
pipe space calculation; perhaps we shouldn't do that.
lib/PublicInbox/Git.pm