summaryrefslogtreecommitdiff
path: root/lib/event.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-09-27 06:32:11 -0400
committerGitHub <noreply@github.com>2023-09-27 06:32:11 -0400
commitbb308b1efc2e902c96ffe047bc6394a8da3a16d3 (patch)
treefcf55607dc05291590e51683646fc8c3b278fdb2 /lib/event.c
parentf289533d5d6535b4aad3624e7b912e766ac0b78a (diff)
parentfd0fe0bb6adf2370256025b17a75c0061c1a977b (diff)
Merge pull request #14482 from opensourcerouting/fix/walltime_threshold_disable
lib: Drop deprecated enable-time-check, enable-cpu-time compile options
Diffstat (limited to 'lib/event.c')
-rw-r--r--lib/event.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/event.c b/lib/event.c
index 458e29f248..122d3cd9a1 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -75,14 +75,7 @@ static struct list *masters;
static void thread_free(struct event_loop *master, struct event *thread);
-#ifndef EXCLUDE_CPU_TIME
-#define EXCLUDE_CPU_TIME 0
-#endif
-#ifndef CONSUMED_TIME_CHECK
-#define CONSUMED_TIME_CHECK 0
-#endif
-
-bool cputime_enabled = !EXCLUDE_CPU_TIME;
+bool cputime_enabled = true;
unsigned long cputime_threshold = CONSUMED_TIME_CHECK;
unsigned long walltime_threshold = CONSUMED_TIME_CHECK;