mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r15939@catbus: nickm | 2007-10-18 22:14:15 -0400
Remember the valid-until time of the most recent consensus that listed a router, and (if we are a cache) never delete the routerdesc until that conensus is expired. This is way easier than retaining multiple consensuses. (Of course, the info isn't retained across restarts, but that only affects a few caches at a time.) svn:r12041
This commit is contained in:
@@ -21,6 +21,9 @@ Changes in version 0.2.0.9-alpha - 2007-10-??
|
||||
- If we find a cached-routers file that's been sitting around for more
|
||||
than 28 days unmodified, then most likely it's a leftover from when we
|
||||
upgraded to 0.2.0.8-alpha. Remove it. It has no good routers anyway.
|
||||
- When we (as a cache) download a descriptor because it was listed in a
|
||||
consensus, remember when the consensus was supposed to expire, and
|
||||
don't expire the descriptor until then.
|
||||
|
||||
o Minor features (performance):
|
||||
- Call routerlist_remove_old_routers() much less often. This should
|
||||
|
||||
Reference in New Issue
Block a user