Skip to content

Commit 5b3a106

Browse files
committed
fix tip
1 parent 03f97c8 commit 5b3a106

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing thro
3030
export AWS_CRT_S3_MEMORY_LIMIT_IN_GIB=4 # 4 GiB limit
3131
```
3232

33-
> [!TIP]
34-
> You can also control memory limit *in bytes* using client config. The client config takes precedence over the environment variable (memory_limit_in_bytes needs to be set to a non-zero value).
35-
> ```c
36-
> struct aws_s3_client_config config = {
37-
> .memory_limit_in_bytes = GB_TO_BYTES(4), // 4 GiB limit
38-
> // ... other configuration
39-
> };
40-
> ```
33+
> [!TIP]
34+
> You can also control memory limit *in bytes* using client config. The client config takes precedence over the environment variable (memory_limit_in_bytes needs to be set to a non-zero value).
35+
> ```c
36+
> struct aws_s3_client_config config = {
37+
> .memory_limit_in_bytes = GB_TO_BYTES(4), // 4 GiB limit
38+
> // ... other configuration
39+
> };
40+
> ```
4141
4242
**Default Behavior**:
4343
If neither is set (config is 0 and environment variable is not set), the client sets a default memory limit based on the target throughput.

0 commit comments

Comments
 (0)