File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 4444#include <inttypes.h>
4545#include <math.h>
4646
47+ #define S_IDEAL_PART_SIZE 8
48+ #define S_S3_CLIENT_MINIMUM_CONCURRENT_REQUESTS 8
49+
4750#ifdef _MSC_VER
4851# pragma warning(disable : 4232) /* function pointer to dll symbol */
4952#endif /* _MSC_VER */
@@ -99,12 +102,8 @@ const double s_s3_express_p50_request_latency_ms = 0.004;
99102
100103/* Currently the ideal part size is 8MB and hence the value set.
101104 * However, this is subject to change due to newer part sizes and adjustments. */
102- const uint32_t s_ideal_part_size = 8 ;
103-
104- const uint32_t s_s3_client_minimum_concurrent_requests = 8 ;
105105
106- /* x 8 to convert to megabits and match token unit */
107- uint32_t s_s3_minimum_tokens = s_ideal_part_size * 8 * s_s3_client_minimum_concurrent_requests ;
106+ const uint32_t s_s3_minimum_tokens = S_IDEAL_PART_SIZE * 8 * S_S3_CLIENT_MINIMUM_CONCURRENT_REQUESTS ;
108107
109108/**
110109 * Default max part size is 5GiB as the server limit.
You can’t perform that action at this time.
0 commit comments