diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-13 08:22:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-15 11:17:22 -0500 |
commit | a0380b705daceb69c29ccda3a2f1453b9dcbc40d (patch) | |
tree | 4367f1e1481d3a42b655af792e9c66a1d3cda7b5 /src/feature | |
parent | db53bfe8f74dad1b45ba381a5ee3366148a30237 (diff) | |
download | tor-a0380b705daceb69c29ccda3a2f1453b9dcbc40d.tar.gz tor-a0380b705daceb69c29ccda3a2f1453b9dcbc40d.zip |
Move control_per_second_events() into a callback with its own role
Part of making extra-dormant mode work; closes ticket 28421.
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/control/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c index b31b448e96..a5b6ab3bf5 100644 --- a/src/feature/control/control.c +++ b/src/feature/control/control.c @@ -368,7 +368,7 @@ control_update_global_event_mask(void) control_get_bytes_rw_last_sec(&r, &w); } if (any_old_per_sec_events != control_any_per_second_event_enabled()) { - reschedule_per_second_timer(); + rescan_periodic_events(get_options()); } #undef NEWLY_ENABLED |