diff options
author | Gabriel Masei <gabriel.masei@1and1.ro> | 2019-11-12 11:50:33 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-11-25 13:06:01 +0100 |
commit | 2164f5207c1717173edcd462433bfa0ee3257045 (patch) | |
tree | 3c216af0362889d0bcae808fbf0856cb6d141070 /kit | |
parent | 09f64252ab5b17f7df8118270ea3ca0e05e8b511 (diff) |
Add REST endpoint for admin metrics.
Change-Id: I701485631931334d27594c4907cb770f9888e5bf
Reviewed-on: https://gerrit.libreoffice.org/82492
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'kit')
-rw-r--r-- | kit/ForKit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp index 62491374c..164489589 100644 --- a/kit/ForKit.cpp +++ b/kit/ForKit.cpp @@ -209,6 +209,7 @@ static void cleanupChildren() std::vector<std::string> jails; Process::PID exitedChildPid; int status; + // Reap quickly without doing slow cleanup so WSD can spawn more rapidly. while ((exitedChildPid = waitpid(-1, &status, WUNTRACED | WNOHANG)) > 0) { |