summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-03 12:23:55 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-09 14:01:00 -0400
commitc9f07f36bf986f274ac9fc56b5c61bbcc669b22e (patch)
tree99e1f3f000920b8be97e38a66c5795b1ab650370 /changes
parent285e7c98fdca8eda97683c0b96f86645ee3f0546 (diff)
downloadtor-c9f07f36bf986f274ac9fc56b5c61bbcc669b22e.tar.gz
tor-c9f07f36bf986f274ac9fc56b5c61bbcc669b22e.zip
Mark the 1-per-sec update_current_time() call as redundant.
We still do this time update here, since we do it from all callbacks, but it is no longer a reason to keep the once-per-second callback enabled. Closes ticket 26009.
Diffstat (limited to 'changes')
-rw-r--r--changes/ticket260099
1 files changed, 9 insertions, 0 deletions
diff --git a/changes/ticket26009 b/changes/ticket26009
new file mode 100644
index 0000000000..51ada15726
--- /dev/null
+++ b/changes/ticket26009
@@ -0,0 +1,9 @@
+ o Minor features (mainloop):
+ - Move responsibility for
+ keeping track of Tor's uptime
+ from a nce-per-second callback to a callback that is only scheduled as
+ needed. Once enough items are removed from our once-per-second
+ callback, we can eliminate it entirely to conserve CPU when idle.
+ Closes ticket
+ 26009.
+