Skip to content

Remove second level caching from ServiceBrowsers#737

Merged
bdraco merged 5 commits into
python-zeroconf:masterfrom
bdraco:servicebrowser_single_source_of_truth
Jun 19, 2021
Merged

Remove second level caching from ServiceBrowsers#737
bdraco merged 5 commits into
python-zeroconf:masterfrom
bdraco:servicebrowser_single_source_of_truth

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jun 19, 2021

  • The ServiceBrowser had its own cache of the last time it
    saw a service which was reimplementing the DNSCache and
    presenting a source of truth problem that lead to unexpected
    queries when the two disagreed.

Fixes #720

- The ServiceBrowser had its own cache of the last time it
  saw a service which was reimplementing the DNSCache and
  presenting a source of truth problem that lead to unexpected
  queries when the two disagreed.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 19, 2021

Codecov Report

Merging #737 (61983fa) into master (35ac7a3) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #737   +/-   ##
=======================================
  Coverage   98.31%   98.31%           
=======================================
  Files          18       18           
  Lines        2198     2198           
  Branches      385      385           
=======================================
  Hits         2161     2161           
  Misses         23       23           
  Partials       14       14           
Impacted Files Coverage Δ
zeroconf/_services/__init__.py 97.10% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35ac7a3...61983fa. Read the comment docs.

@bdraco bdraco merged commit 5feda7e into python-zeroconf:master Jun 19, 2021
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.

ServiceBrowsers have two sources of truth that may not agree

2 participants