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

feat: reduce overhead to process incoming updates by avoiding the handle_response shim #1247

Merged
merged 4 commits into from Sep 2, 2023

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Sep 2, 2023

handle_response was left over from before async_updates_from_response was moved into the record manager. Call the record manager directly from the listener instead so we can use a cimport to avoid converting back to python objects

…dle_response shim

handle_response was left over from before async_updates_from_response
was moved into the record manager. Call the record manager directly
from the listener instead
@codecov
Copy link

codecov bot commented Sep 2, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
src/zeroconf/__init__.py 100.00%
src/zeroconf/_core.py 100.00%
src/zeroconf/_listener.py 100.00%

📢 Thoughts on this report? Let us know!.

@bdraco bdraco changed the title feat: reduce overhead to process incoming updates by removing the handle_response shim feat: reduce overhead to process incoming updates by avoiding the handle_response shim Sep 2, 2023
@bdraco bdraco marked this pull request as ready for review September 2, 2023 03:22
@bdraco bdraco merged commit 5e31f0a into master Sep 2, 2023
34 checks passed
@bdraco bdraco deleted the remove_shim branch September 2, 2023 03:23
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.

None yet

1 participant