Author: Rusty Russell <rusty@rustcorp.com.au>
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 15 Dec 2009 09:56:16 +0000 (20:56 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 15 Dec 2009 09:56:16 +0000 (20:56 +1100)
commit6ed34d5320c39d8a55f2a36ad4c1ab574e0b0796
tree987082ce3f2282708cfb493f9d0583ed1fa2e4ce
parentbcf494b81f4277dc75f05faccf0c446bd15f6e2b
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Tue Dec 15 15:53:30 2009 +1030

    eventscript: hack to avoid overloading valgrind

    Now we fork one child per script, when running under valgrind the
load
    gets quite high.  This is because valgrind does a lot of work after
exit,
    and we don't wait for the children to finish; we start the next one
when
    the child reports status via the pipe.

    This fix is ugly, but simple.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c