sindresorhus/fkill
Is there any change to optimize the processing time?
Offen
#25 geöffnet am 06.08.2018
:dollar: Funded on Issuehuntenhancementhelp wanted
Repository-Metriken
- Stars
- (794 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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)
- 0maxxam0 ($8.00)
Submitted pull Requests
- #1 Avoid checking process existence before successful kills
- #1 Avoid process listing before successful kills
Become a backer now!
Or submit a pull request to get the deposits!
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.