diff options
author | Mattias Andrée <maandree@kth.se> | 2024-02-24 20:33:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-02-24 20:33:55 +0100 |
commit | 78ea3f31e616b9da05f8bd61b550abed92f678d9 (patch) | |
tree | c4bee0b1eec9e08930a82627de68101ca18c9831 /config.mk | |
parent | Add coreupdownd (diff) | |
download | coreupdown-78ea3f31e616b9da05f8bd61b550abed92f678d9.tar.gz coreupdown-78ea3f31e616b9da05f8bd61b550abed92f678d9.tar.bz2 coreupdown-78ea3f31e616b9da05f8bd61b550abed92f678d9.tar.xz |
Add support for SIGHUP
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | config.mk | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -1,14 +1,18 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +# It is important that PREFIX is properly set when building, not just installing -COREUP_THRESHOLD_CPU = 95 -COREUP_THRESHOLD_TIME = 2 -COREUP_COOLDOWN = 4 -COREDOWN_THRESHOLD_CPU = 50 +# In percent of one CPU (integer) +COREUP_THRESHOLD_CPU = 95 +COREDOWN_THRESHOLD_CPU = 50 +# In multiples of the update interval (integer) +COREUP_THRESHOLD_TIME = 2 COREDOWN_THRESHOLD_TIME = 2 -COREDOWN_COOLDOWN = 4 -DAEMON_INTERVAL_SEC = 1 -DAEMON_INTERVAL_NSEC = 0 +COREUP_COOLDOWN = 4 +COREDOWN_COOLDOWN = 4 +# Update interval (integer) +DAEMON_INTERVAL_SEC = 1 +DAEMON_INTERVAL_NSEC = 0 CC = c99 |