Commit Graph

10 Commits

Author SHA1 Message Date
eleksir
d962e4fd46 Send signal to process after all other actions 2024-04-29 16:30:28 +03:00
eleksir
887643f62d Small refactor, move config file path detection out of main() 2024-04-29 13:20:00 +03:00
eleksir
b5bacc5afe Less agressively evict idle workers from worker pool 2024-04-14 10:27:00 +03:00
eleksir
b2788b9ef1 Optimize work with signals 2024-04-14 03:19:17 +03:00
eleksir
e569c6bfce Remove unneeded loop and reduce cpu usage 2024-04-14 02:43:13 +03:00
eleksir
227b9006dd Do no set again nicelevel if it is already set, reduce cpu usage
* Fix logic thar gets nice level to avoide useless renice operations.
* Use maps instead of loop for process name matching
2024-04-13 12:41:55 +03:00
eleksir
cf9c8f0b29 Fix config path for macos if reniced run via sudo 2024-04-08 10:47:59 +03:00
eleksir
dc89d197d9 Add task pool, minor changes
- Add task pool to smooth impact when list in config is pretty long
- Update dependencies
- Update config
2024-04-06 12:39:41 +03:00
eleksir
4d04731aeb Add ability to daemonize program, update sample config, README.md, add .gitignore 2024-03-13 20:08:08 +03:00
eleksir
74eaf3bd75 Initial commit 2024-03-12 23:14:55 +03:00