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

Speed up boot, by gathering async tasks. #417

Merged
merged 1 commit into from
Apr 18, 2021
Merged

Conversation

iMicknl
Copy link
Owner

@iMicknl iMicknl commented Apr 13, 2021

Fix #395.

@iMicknl iMicknl merged commit af06c55 into master Apr 18, 2021
@iMicknl iMicknl deleted the feature/asyncio_gather branch April 18, 2021 14:50
client.get_gateways(),
client.get_places(),
]
devices, scenarios, gateways, places = await asyncio.gather(*tasks)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Utilize asyncio.gather in __init__
2 participants