]> Sergey Matveev's repositories - public-inbox.git/commit
solvergit: don't drop update-index stdin with qspawn
authorEric Wong <e@80x24.org>
Thu, 12 Sep 2019 06:54:28 +0000 (06:54 +0000)
committerEric Wong <e@80x24.org>
Thu, 12 Sep 2019 06:56:04 +0000 (06:56 +0000)
commite14d0bb916b0a2d2e8ad482e0fe892a9a0de1871
tree11d9acc02bf6c262fd6b2c1016a81669b8118d83
parent819eba8e79e703f593a0310ee9cda57cbb9bbd0d
solvergit: don't drop update-index stdin with qspawn

It's possible for Qspawn callers to be deferred, in which case
we must ensure we don't cause the temporary file used for
stdin to become unref-ed and closed.

This can be a problem when we exceed the default Qspawn
limiter of 32 concurrent processes for "git update-index".
lib/PublicInbox/SolverGit.pm