diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-08-13 09:41:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-13 09:45:30 -0400 |
commit | e62518865b312816211086c6a0d080e7258dae5b (patch) | |
tree | 9af124680dd0fe461dc2412aec9473ab653e7ac3 /changes | |
parent | 6b2696296640585bb6247ff6c88570c38b4b25a8 (diff) | |
download | tor-e62518865b312816211086c6a0d080e7258dae5b.tar.gz tor-e62518865b312816211086c6a0d080e7258dae5b.zip |
Decouple routerlist_retry_directory_downloads() from the blob
Instead of having it call update_all_descriptor_downloads and
update_networkstatus_downloads directly, we can have it cause them to
get rescheduled and called from run_scheduled_events.
Closes ticket 16789.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/decouple_retry_directory | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/decouple_retry_directory b/changes/decouple_retry_directory new file mode 100644 index 0000000000..11f901b04f --- /dev/null +++ b/changes/decouple_retry_directory @@ -0,0 +1,6 @@ + o Code simplification and refactoring: + - Change the function that's called when we need to retry all downloads + so that it only reschedules the downloads to happen immediately, rather + than launching them all at once itself. This further simplifies + Tor's callgraph. + |