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.


svn:r5681
This commit is contained in:
Roger Dingledine 2005-12-30 04:46:43 +00:00
parent c051e82f69
commit 0dc8e284f8

View File

@ -739,7 +739,7 @@ routerlist_sl_remove_unreliable_routers(smartlist_t *sl)
}
}
#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.