Skip to content

Remove blocking calls#74

Merged
bnusunny merged 1 commit intoaws:mainfrom
calavera:remove_blocking_calls
Sep 11, 2022
Merged

Remove blocking calls#74
bnusunny merged 1 commit intoaws:mainfrom
calavera:remove_blocking_calls

Conversation

@calavera
Copy link
Copy Markdown
Contributor

Description of changes:

There are currently two blocking calls that will prevent the adapter to utilize the Tokio scheduler correctly.

This change removes those calls by using Arc and AtomicBool when necessary.

Signed-off-by: David Calavera david.calavera@gmail.com

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

There are currently two blocking calls that will prevent the adapter to utilize the Tokio scheduler correctly.

This change removes those calls by using Arc and AtomicBoolwhen necessary.

Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera calavera force-pushed the remove_blocking_calls branch from 7b4a9d1 to 20c0acc Compare September 10, 2022 23:49
Copy link
Copy Markdown
Contributor

@bnusunny bnusunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bnusunny bnusunny merged commit 02ae98b into aws:main Sep 11, 2022
@calavera calavera deleted the remove_blocking_calls branch September 11, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants