Skip to content

Commit 41406a1

Browse files
author
Krish
committed
another experiment
1 parent 6400640 commit 41406a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/s3_meta_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ uint32_t s_calculate_meta_request_connections(struct aws_s3_client *client, stru
178178
double throughput_per_connection =
179179
meta_request->is_express ? g_s3express_throughput_per_connection_gbps : g_s3_throughput_per_connection_gbps;
180180

181-
double achieved_weight = 10000 * 106.6 / (30 * 1024 * 1024 * 1024);
181+
double achieved_weight = (30 * 1024 * 1024 * 1024) / (10000 * 106.6);
182182
/* Calculate connections needed: target_throughput / throughput_per_connection */
183183
double ideal_connections =
184184
(client->throughput_target_gbps * meta_request->weight) / (achieved_weight * throughput_per_connection);

0 commit comments

Comments
 (0)