]> git.ipfire.org Git - thirdparty/tor.git/commit
Change who calls microdesc_cache_rebuild().
authorNick Mathewson <nickm@torproject.org>
Tue, 3 May 2011 21:28:28 +0000 (17:28 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 3 May 2011 21:28:28 +0000 (17:28 -0400)
commit68ae5afa5a172fbc485eda7e6bfd4750fa6a69f5
treec97962c1ad80afc0febff088fbdf020e331738c3
parentcb6c909664f97f751fe78c0aa3205a9042760c53
Change who calls microdesc_cache_rebuild().

Previously we ensured that it would get called periodically by doing
it from inside the code that added microdescriptors.  That won't work
though: it would interfere with our code that tried to read microdescs
from disk initially.  Instead, we should consider rebuilding the cache
periodically, and on startup.
changes/bug2230_part4 [new file with mode: 0644]
src/or/main.c
src/or/microdesc.c