feat: reduce overhead to process incoming updates by avoiding the handle_response shim by bdraco · Pull Request #1247 · python-zeroconf/python-zeroconf

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@bdraco

Copy link Copy Markdown

Member

@bdraco bdraco commented

Sep 2, 2023

edited

Loading

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 Copy Markdown

codecov bot commented

Sep 2, 2023

edited

Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@bdraco