Skip to content

Commit

Permalink
Use proper public event loop group API (#460)
Browse files Browse the repository at this point in the history
Co-authored-by: Bret Ambrose <[email protected]>
  • Loading branch information
bretambrose and Bret Ambrose authored Nov 12, 2024
1 parent 5d8d420 commit 5877f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/s3_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,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)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 5877f40

Please sign in to comment.