summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2017-07-11 12:47:37 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-09-15 11:40:59 -0400
commitdde358667d386d2c7b28866b029effa062ab9b6d (patch)
treec5dd77b8622b4366509d424b9245c3d6bba11fff /src/or/config.c
parent2034e0d1d42c4f36a24c1eb88f95d057dacacf72 (diff)
downloadtor-dde358667d386d2c7b28866b029effa062ab9b6d.tar.gz
tor-dde358667d386d2c7b28866b029effa062ab9b6d.zip
sched: Implement the KIST scheduler
Closes #12541 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/or/config.c b/src/or/config.c
index a7bc23af59..285d4952f2 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1813,14 +1813,9 @@ options_act(const or_options_t *old_options)
return -1;
}
- /* XXXFORTOR remove set_watermarks */
- /* Set up scheduler thresholds */
- scheduler_set_watermarks(100 * 1024*1024 /* 100 MB */,
- 101 * 1024*1024 /* 101 MB */,
- 100);
-
- /* XXXFORTOR enable notification to sched that the conf might have changed */
- //scheduler_conf_changed();
+ /* Inform the scheduler subsystem that a configuration changed happened. It
+ * might be a change of scheduler or parameter. */
+ scheduler_conf_changed();
/* Set up accounting */
if (accounting_parse_options(options, 0)<0) {