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

貢獻者指南