mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
Revert "fix: pidusage usePs for ESPIPE error"
This reverts commit f09b8c41c6.
This commit is contained in:
+1
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user