soyuka / pidusage

Cross-platform process cpu % and memory usage of a PID
MIT License
512 stars 55 forks source link

Remove interval task in lib/history.js #106

Closed Hornwitser closed 4 years ago

Hornwitser commented 4 years ago

Run the history invalidation task on set and get instead of scheduling it on an interval.

This is a more invasive and potentially breaking alternative to #107.

soyuka commented 4 years ago

Closing in favor of https://github.com/soyuka/pidusage/pull/107