mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
mark a bug for nick to tackle -- we're rebuilding our router store more
often than we need to. reported by lodger. svn:r10241
This commit is contained in:
parent
6ede110c4d
commit
b89ad9eb1b
@ -271,7 +271,7 @@ _compare_signed_descriptors_by_age(const void **_a, const void **_b)
|
||||
static int
|
||||
router_rebuild_store(int force, int extrainfo)
|
||||
{
|
||||
size_t len = 0;
|
||||
size_t len = 0; /* XXX020 never used */
|
||||
or_options_t *options;
|
||||
size_t fname_len;
|
||||
smartlist_t *chunk_list = NULL;
|
||||
@ -394,7 +394,7 @@ router_rebuild_store(int force, int extrainfo)
|
||||
write_str_to_file(fname, "", 1);
|
||||
|
||||
r = 0;
|
||||
stats->store_len = len;
|
||||
stats->store_len = len; /* XXX020 always 0 */
|
||||
stats->journal_len = 0;
|
||||
stats->bytes_dropped = 0;
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user