[2094] in Moira Commits
[ops/moira] 81678d: Remove delay after incr-runner spawns a child
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Oct 17 12:24:13 2016
Date: Mon, 17 Oct 2016 12:24:11 -0400
From: Greg Hudson <ghudson@mit.edu>
Reply-To: Greg Hudson <ghudson@mit.edu>
To: moira-commits@mit.edu
Message-ID: <5804fb2bd57f1_97073fb0fc6652b4596cd@github-mit-edu.mail>
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="--==_mimepart_5804fb2bd432d_97073fb0fc6652b45954c";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_5804fb2bd432d_97073fb0fc6652b45954c
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Branch: refs/heads/master
Home: https://github.mit.edu/ops/moira
Commit: 81678daba15f3c4efeaec01011762029c98a8826
https://github.mit.edu/ops/moira/commit/81678daba15f3c4efeaec01011762029c98a8826
Author: Greg Hudson <ghudson@mit.edu>
Date: 2016-10-17 (Mon, 17 Oct 2016)
Changed paths:
M moira/incremental/incr-runner/incr-runner.pc
Log Message:
-----------
Remove delay after incr-runner spawns a child process, by calling
waitpid() inside do_service() instead of polling a global variable set
by a SIGCHLD handler after an interval. reapchild() still exists to
reap child processes which timed out.
----==_mimepart_5804fb2bd432d_97073fb0fc6652b45954c--