Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use asyncio.create_task instead of await for log10 post calls #177

Closed
wants to merge 2 commits into from

Conversation

wenzhe-log10
Copy link
Collaborator

@wenzhe-log10 wenzhe-log10 commented Jun 4, 2024

require to gather all pending tasks at the end

from log10._httpx_utils import finalize
...

await finalize()
  • need to update the async examples with finalize , currently only change one example file

@wenzhe-log10 wenzhe-log10 changed the title create async task instead of await for log10 post calls use asyncio.create_task instead of await for log10 post calls Jun 4, 2024
@wenzhe-log10 wenzhe-log10 marked this pull request as draft June 4, 2024 16:55
@wenzhe-log10 wenzhe-log10 force-pushed the wenzhe/non_blocking_async_post branch from 0cd915c to 3239e8d Compare June 4, 2024 17:29
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