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

fix: Improve checks for pidfd availability #51

Merged
merged 3 commits into from
Apr 26, 2022

Conversation

achimnol
Copy link
Owner

  • Use os.pidfd_open() that requires a higher kernel version to avoid
    a missing API error in Linuxn kernel 5.1 to 5.2.

* Use os.pidfd_open() that requires a higher kernel version to avoid
  a missing API error in Linuxn kernel 5.1 to 5.2.
@achimnol achimnol added the bug label Apr 26, 2022
@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #51 (6306c39) into main (46152be) will decrease coverage by 0.05%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   78.55%   78.49%   -0.06%     
==========================================
  Files          16       16              
  Lines        1329     1330       +1     
==========================================
  Hits         1044     1044              
- Misses        285      286       +1     
Impacted Files Coverage Δ
src/aiotools/server.py 50.00% <75.00%> (-0.17%) ⬇️
src/aiotools/fork.py 74.48% <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 46152be...6306c39. Read the comment docs.

@achimnol achimnol merged commit 9487647 into main Apr 26, 2022
@achimnol achimnol deleted the fix/check-pidfd-availability branch April 26, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant