sindresorhus/fkill

Is there any change to optimize the processing time?

开放

#25 创建于 2018年8月6日

 (12 条评论) (0 个反应) (0 位负责人)JavaScript (76 个派生)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

仓库指标

星标
 (794 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I need to kill the process tree in 5 seconds. However, I found that the code will run almost 10+ seconds before returned. Any suggestions? Thanks.

const fkill = require('fkill');
...
await fkill(pid, {"force": true, "tree": true}); // It takes longer than expected

Backers (Total: $8.00)

Submitted pull Requests


Become a backer now!

Or submit a pull request to get the deposits!

Tips

贡献者指南