[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11902: Note a way to make routerlist_remove_old_routrs get called w (in tor/trunk: . src/or)
Author: nickm
Date: 2007-10-12 17:33:35 -0400 (Fri, 12 Oct 2007)
New Revision: 11902
Modified:
tor/trunk/
tor/trunk/src/or/routerlist.c
Log:
r15730@catbus: nickm | 2007-10-12 16:47:47 -0400
Note a way to make routerlist_remove_old_routrs get called way less.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r15730] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-10-12 19:53:29 UTC (rev 11901)
+++ tor/trunk/src/or/routerlist.c 2007-10-12 21:33:35 UTC (rev 11902)
@@ -2860,7 +2860,6 @@
void
routerlist_remove_old_routers(void)
{
- /* XXXX020 call me less often */
int i, hi=-1;
const char *cur_id = NULL;
time_t now = time(NULL);
@@ -4045,6 +4044,8 @@
res = 0;
goto done;
}
+ /*XXXX020 remove this call. routerlist_remove_old_routers shows up in some
+ * profiles, and this is the biggest caller of that function. */
routerlist_remove_old_routers();
networkstatus_list_clean(now);