Skip to content

Commit

Permalink
Use proper public event loop group API
Browse files Browse the repository at this point in the history
  • Loading branch information
Bret Ambrose committed Nov 7, 2024
1 parent 5d8d420 commit 5351e29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/s3_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,7 @@ struct aws_s3_client *aws_s3_client_new(

/* Set up body streaming ELG */
{
uint16_t num_event_loops =
(uint16_t)aws_array_list_length(&client->client_bootstrap->event_loop_group->event_loops);
uint16_t num_event_loops = aws_event_loop_group_get_loop_count(client->client_bootstrap->event_loop_group);
uint16_t num_streaming_threads = num_event_loops;

if (num_streaming_threads < 1) {
Expand Down

0 comments on commit 5351e29

Please sign in to comment.