Revert "fix: pidusage usePs for ESPIPE error"
This reverts commit f09b8c41c6.
This commit is contained in:
parent
f09b8c41c6
commit
fe9048281e
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue