Skip to content

Rename handlers and internals to make it clear what is threadsafe#726

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:handlers_mark_async_safe
Jun 18, 2021
Merged

Rename handlers and internals to make it clear what is threadsafe#726
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:handlers_mark_async_safe

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jun 18, 2021

  • It was too easy to get confused about what was threadsafe and
    what was not threadsafe which lead to unexpected failures.
    Rename functions to make it clear what will be run in the event
    loop and what is expected to be threadsafe

- It was too easy to get confused about what was threadsafe and
  what was not threadsafe which lead to unexpected failures.
  Rename functions to make it clear what will be run in the event
  loop and what is expected to be threadsafe
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 18, 2021

Codecov Report

Merging #726 (6d934b3) into master (e2d4d98) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #726      +/-   ##
==========================================
- Coverage   98.16%   98.15%   -0.01%     
==========================================
  Files          18       18              
  Lines        2174     2171       -3     
  Branches      378      377       -1     
==========================================
- Hits         2134     2131       -3     
  Misses         25       25              
  Partials       15       15              
Impacted Files Coverage Δ
zeroconf/_core.py 97.86% <100.00%> (ø)
zeroconf/_handlers.py 100.00% <100.00%> (ø)
zeroconf/_services/__init__.py 96.35% <100.00%> (-0.03%) ⬇️

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 e2d4d98...6d934b3. Read the comment docs.

@bdraco bdraco merged commit f91af79 into python-zeroconf:master Jun 18, 2021
@bdraco bdraco deleted the handlers_mark_async_safe branch June 18, 2021 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants