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

fix: make _notification_handler a normal function #324

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Aug 17, 2024

Nothing is being awaited here and by making it a coro, each notification has to spawn a new task which has to wait one iteration of the event loop and increases latancy

@bdraco bdraco changed the title Make _notification_handler a normal function fix: make _notification_handler a normal function Aug 17, 2024
Nothing is being awaited here and by making it a coro, each
notification has to spawn a new task which has to wait one
iteration of the event loop and increases latancy
@bdraco bdraco force-pushed the _notification_handler_normal branch from 1061b83 to 56f236f Compare August 17, 2024 01:08
@bdraco bdraco marked this pull request as ready for review August 17, 2024 01:08
@kaechele kaechele merged commit d9cb976 into kaechele:main Aug 18, 2024
@kaechele
Copy link
Owner

Thanks!

@bdraco bdraco deleted the _notification_handler_normal branch August 18, 2024 15:02
@bdraco
Copy link
Contributor Author

bdraco commented Aug 18, 2024

Thanks

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