Skip to content

Commit 5877f40

Browse files
bretambroseBret Ambrose
andauthored
Use proper public event loop group API (#460)
Co-authored-by: Bret Ambrose <bambrose@amazon.com>
1 parent 5d8d420 commit 5877f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/s3_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ struct aws_s3_client *aws_s3_client_new(
529529
/* Set up body streaming ELG */
530530
{
531531
uint16_t num_event_loops =
532-
(uint16_t)aws_array_list_length(&client->client_bootstrap->event_loop_group->event_loops);
532+
(uint16_t)aws_event_loop_group_get_loop_count(client->client_bootstrap->event_loop_group);
533533
uint16_t num_streaming_threads = num_event_loops;
534534

535535
if (num_streaming_threads < 1) {

0 commit comments

Comments
 (0)