sindresorhus/fkill

Is there any change to optimize the processing time?

Aperta

#25 aperta il 6 ago 2018

 (12 commenti) (0 reazioni) (0 assegnatari)JavaScript (76 fork)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

Metriche repository

Star
 (794 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor