send_cmd4: make `tries' a per-call parameter
commit25c5108f2bdb29009ac986b7bde29ffca24e6e7a
authorEric Wong <e@80x24.org>
Thu, 25 Apr 2024 21:31:44 +0000 (25 21:31 +0000)
committerEric Wong <e@80x24.org>
Sun, 28 Apr 2024 17:05:28 +0000 (28 17:05 +0000)
treecaafc84388fe38a282e5d0f5dc87c9612a1fa178
parentdba2370bd52ce5b550906c7fdb516af512d81bce
send_cmd4: make `tries' a per-call parameter

While existing callers are private (lei, *-index, -watch) are
private, we should not be blocking the event loop in
public-facing servers when we hit ETOOMANYREFS, ENOMEM, or
ENOBUFS.
lib/PublicInbox/CmdIPC4.pm
lib/PublicInbox/Spawn.pm
lib/PublicInbox/Syscall.pm