Revert "fix: pidusage usePs for ESPIPE error"

This reverts commit f09b8c41c6.
This commit is contained in:
DIYgod 2021-06-17 11:04:12 +08:00
parent f09b8c41c6
commit fe9048281e
1 changed files with 1 additions and 3 deletions

View File

@ -56,9 +56,7 @@ module.exports = async (ctx) => {
}
const { disallowRobot } = config;
const stats = await pidusage(process.pid, {
usePs: true,
});
const stats = await pidusage(process.pid);
ctx.body = art(path.resolve(__dirname, '../views/welcome.art'), {
showDebug,