sindresorhus/fkill

Is there any change to optimize the processing time?

オープン

#25 opened on 2018/08/06

 (12 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (76 件のフォーク)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

Repository metrics

Stars
 (794 個のスター)
PR merge metrics
 (30d に merged 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

コントリビューターガイド