mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: pidusage usePs for ESPIPE error
This commit is contained in:
+3
-1
@@ -56,7 +56,9 @@ module.exports = async (ctx) => {
|
||||
}
|
||||
const { disallowRobot } = config;
|
||||
|
||||
const stats = await pidusage(process.pid);
|
||||
const stats = await pidusage(process.pid, {
|
||||
usePs: true,
|
||||
});
|
||||
|
||||
ctx.body = art(path.resolve(__dirname, '../views/welcome.art'), {
|
||||
showDebug,
|
||||
|
||||
Reference in New Issue
Block a user