Skip to content

Commit e416a9f

Browse files
author
Krish
committed
fix build issues
1 parent 1a2980c commit e416a9f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source/s3_client.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,14 @@ const double s_s3_p50_request_latency_ms = 0.03;
9797
// 4ms
9898
const double s_s3_express_p50_request_latency_ms = 0.004;
9999

100-
const uint32_t s_s3_client_minimum_concurrent_requests = 8;
101-
102100
/* Currently the ideal part size is 8MB and hence the value set.
103101
* However, this is subject to change due to newer part sizes and adjustments. */
104-
const uint32_t s_ideal_part_size = 8;
102+
static const uint32_t s_ideal_part_size = 8;
103+
104+
static const uint32_t s_s3_client_minimum_concurrent_requests = 8;
105105

106-
const uint32_t s_s3_minimum_tokens =
107-
s_ideal_part_size * 8 *
108-
s_s3_client_minimum_concurrent_requests; /* x 8 to convert to megabits and match token unit */
106+
/* x 8 to convert to megabits and match token unit */
107+
const uint32_t s_s3_minimum_tokens = s_ideal_part_size * 8 * s_s3_client_minimum_concurrent_requests;
109108

110109
/**
111110
* Default max part size is 5GiB as the server limit.

0 commit comments

Comments
 (0)