|
@@ -864,8 +864,8 @@ safe_or_connection_max_bytes_can_read(safe_or_connection_t *safe_or_conn,
|
|
get_cell_network_size(safe_or_conn->wide_circ_ids?1:0);
|
|
get_cell_network_size(safe_or_conn->wide_circ_ids?1:0);
|
|
size_t bucket_max = token_bucket_rw_get_read(&safe_or_conn->bucket);
|
|
size_t bucket_max = token_bucket_rw_get_read(&safe_or_conn->bucket);
|
|
|
|
|
|
- size_t rv = 32*cell_network_size;
|
|
|
|
- // this is the limit that 'connection_bucket_get_share()' uses
|
|
|
|
|
|
+ size_t rv = 1024*cell_network_size;
|
|
|
|
+ // this is the x32 the limit that 'connection_bucket_get_share()' uses
|
|
|
|
|
|
if (use_conn_buckets && rv > bucket_max) {
|
|
if (use_conn_buckets && rv > bucket_max) {
|
|
rv = bucket_max;
|
|
rv = bucket_max;
|