Skip to content

Commit 5fef5c1

Browse files
author
Krish
committed
more testing
1 parent 841bb7f commit 5fef5c1

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
@@ -180,7 +180,7 @@ uint32_t s_calculate_meta_request_connections(struct aws_s3_client *client, stru
180180
/* Assuming 128MB part size provides the ideal throughput we expect after amortization, we find a ratio with the
181181
* current part size to find what the scaled throughput per connections would be. Logically, small for smaller part
182182
* sizes, larger for larger part sizes. */
183-
double scaling_factor = (meta_request->part_size > 0 ? ((MB_TO_BYTES(512) * 1.0) / meta_request->part_size) : 1);
183+
double scaling_factor = (meta_request->part_size > 0 ? ((GB_TO_BYTES(2) * 1.0) / meta_request->part_size) : 1);
184184

185185
/* Calculate connections needed: target_throughput / throughput_per_connection */
186186
double ideal_connections = client->throughput_target_gbps / throughput_per_connection;

0 commit comments

Comments
 (0)