Skip to content

Make async examples non-blocking during OPG approval#280

Open
amathxbt wants to merge 1 commit intoOpenGradient:mainfrom
amathxbt:patch-3
Open

Make async examples non-blocking during OPG approval#280
amathxbt wants to merge 1 commit intoOpenGradient:mainfrom
amathxbt:patch-3

Conversation

@amathxbt
Copy link
Copy Markdown
Contributor

Updated async examples to avoid blocking the event loop during Permit2 approval by using await asyncio.to_thread for the approval step.

Updated async examples to avoid blocking the event loop during Permit2 approval by using await asyncio.to_thread for the approval step.

Signed-off-by: AMATH <116212274+amathxbt@users.noreply.github.com>
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.

1 participant