natemcmaster / LettuceEncrypt

Free, automatic HTTPS certificate generation for ASP.NET Core web apps
https://nuget.org/packages/LettuceEncrypt
Apache License 2.0
1.55k stars 153 forks source link

Optimize cert loading/rewewal checks on server startup #205

Closed natemcmaster closed 2 years ago

natemcmaster commented 2 years ago

Fixes

codecov[bot] commented 2 years ago

Codecov Report

Merging #205 (6330ef7) into main (e5f5089) will increase coverage by 0.23%. The diff coverage is 90.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #205      +/-   ##
==========================================
+ Coverage   45.70%   45.94%   +0.23%     
==========================================
  Files          44       44              
  Lines        1107     1110       +3     
==========================================
+ Hits          506      510       +4     
+ Misses        601      600       -1     
Impacted Files Coverage Δ
...ncrypt/Internal/AcmeStates/CheckForRenewalState.cs 0.00% <0.00%> (ø)
src/LettuceEncrypt/Internal/CertificateSelector.cs 55.38% <100.00%> (+1.41%) :arrow_up:
...ettuceEncrypt/Internal/StartupCertificateLoader.cs 92.85% <100.00%> (+1.19%) :arrow_up:

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 e5f5089...6330ef7. Read the comment docs.