mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
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:
parent
c051e82f69
commit
0dc8e284f8
@ -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
|
/** Choose a random element of router list <b>sl</b>, weighted by
|
||||||
* the advertised bandwidth of each router.
|
* the advertised bandwidth of each router.
|
||||||
|
Loading…
Reference in New Issue
Block a user