[or-cvs] load balance a bit better by taking some load off the really

arma at seul.org arma at seul.org
Fri Dec 30 04:46:46 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
load balance a bit better by taking some load off the really
fast servers.
this might slow things down more, or it might not. hm.


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -p -d -r1.409 -r1.410
--- routerlist.c	30 Dec 2005 04:44:10 -0000	1.409
+++ routerlist.c	30 Dec 2005 04:46:43 -0000	1.410
@@ -739,7 +739,7 @@ routerlist_sl_remove_unreliable_routers(
   }
 }
 
-#define MAX_BELIEVABLE_BANDWIDTH 2000000 /* 2 MB/sec */
+#define MAX_BELIEVABLE_BANDWIDTH 1500000 /* 1.5 MB/sec */
 
 /** Choose a random element of router list <b>sl</b>, weighted by
  * the advertised bandwidth of each router.



More information about the tor-commits mailing list