]> Sergey Matveev's repositories - public-inbox.git/commit
ds: avoid excessive queueing when reaping PIDs
authorEric Wong <e@80x24.org>
Mon, 31 Aug 2020 04:41:37 +0000 (04:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Sep 2020 00:19:19 +0000 (00:19 +0000)
commit8aec4e8ddea9d9002be2d6af0849d8c5eb84b2e7
treeca41c07fb629bad65a8c45cf315eded951e8c2b8
parent584ae0414690bd403dee2e79ba1726e4199241be
ds: avoid excessive queueing when reaping PIDs

We should not enqueue reap_pids() to run more than once per
EventLoop iteration.  We'll start reformatting reap_pids
to tabs, too, since we're no longer Danga::Socket.

We should also be able to remove timer usage for reaping
down-the-line once we stop abusing dwaitpid() in -watch.
lib/PublicInbox/DS.pm