diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-22 11:33:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-25 11:11:30 -0400 |
commit | ef2a449cceceb777126119d20c15cda707c17d61 (patch) | |
tree | 149e76c9a0d6b0a2637c79a6014d00b4bc3eadf5 /src/or/scheduler.c | |
parent | 230a33679814f3074c0ba43e42dc7b38b5342c10 (diff) | |
download | tor-ef2a449cceceb777126119d20c15cda707c17d61.tar.gz tor-ef2a449cceceb777126119d20c15cda707c17d61.zip |
sched: Make KISTSchedRunInterval non negative
Fixes #23539.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r-- | src/or/scheduler.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index cc01611226..4a32890306 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -249,13 +249,8 @@ select_scheduler(void) case SCHEDULER_KIST: if (!scheduler_can_use_kist()) { #ifdef HAVE_KIST_SUPPORT - if (get_options()->KISTSchedRunInterval == -1) { - log_info(LD_SCHED, "Scheduler type KIST can not be used. It is " - "disabled because KISTSchedRunInterval=-1"); - } else { - log_notice(LD_SCHED, "Scheduler type KIST has been disabled by " - "the consensus."); - } + log_notice(LD_SCHED, "Scheduler type KIST has been disabled by " + "the consensus or no kernel support."); #else /* !(defined(HAVE_KIST_SUPPORT)) */ log_info(LD_SCHED, "Scheduler type KIST not built in"); #endif /* defined(HAVE_KIST_SUPPORT) */ |