Commit Graph

20 Commits

Author SHA1 Message Date
eleksir
83970650b5 Move to typical go project layout, fix golangci-lint warnings, update deps v1.2 2024-10-19 23:13:27 +03:00
eleksir
0b573aa169 Add freebsd case for root config location v1.1 2024-10-01 01:18:28 +03:00
eleksir
7474028b82 Remove validation of unused cmd_delay parameter v1.0 2024-05-06 23:25:34 +03:00
eleksir
120b7c995a Update config for golangci-lint 2024-05-06 23:23:15 +03:00
eleksir
301c22be02 Fix typo in README.md 2024-05-06 23:03:03 +03:00
eleksir
1d76fd9920 Remove cmd_delay config option as it seems to be useless 2024-05-06 23:00:32 +03:00
eleksir
d6f56dc569 Update README.md 2024-05-06 22:59:40 +03:00
eleksir
863ca34383 Implemented linux ionice funtionality 2024-04-29 20:42:23 +03:00
eleksir
d962e4fd46 Send signal to process after all other actions 2024-04-29 16:30:28 +03:00
eleksir
3e532f46aa Add System V Init script and systemd unit, update README.md 2024-04-29 14:11:55 +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
d6f9966999 Update README.md 2024-04-06 12:53:16 +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