Skip to content

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

Merged
bdraco merged 4 commits into
masterfrom
remove_shim
Sep 2, 2023
Merged

feat: reduce overhead to process incoming updates by avoiding the handle_response shim#1247
bdraco merged 4 commits into
masterfrom
remove_shim

Conversation

@bdraco

@bdraco bdraco commented Sep 2, 2023

Copy link
Copy Markdown
Member

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

codecov Bot commented Sep 2, 2023

Copy link
Copy Markdown

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
@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.

1 participant