From e62518865b312816211086c6a0d080e7258dae5b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 13 Aug 2015 09:41:43 -0400 Subject: 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. --- changes/decouple_retry_directory | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changes/decouple_retry_directory (limited to 'changes') 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. + -- cgit v1.2.3-54-g00ecf