Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Rewrite Datastore.get_server_verify_keys #5030

Merged
merged 5 commits into from
Apr 9, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Apr 8, 2019

Rewrite this so that it doesn't hammer the database.

There's no point in collecting a merged dict of keys: it is sufficient to
consider just the new keys which have been fetched by the most recent
key_fetch_fns.
@richvdh richvdh requested a review from a team April 8, 2019 22:36
@codecov
Copy link

codecov bot commented Apr 8, 2019

Codecov Report

Merging #5030 into develop will decrease coverage by 0.01%.
The diff coverage is 96.66%.

@@             Coverage Diff             @@
##           develop    #5030      +/-   ##
===========================================
- Coverage    61.59%   61.58%   -0.02%     
===========================================
  Files          332      332              
  Lines        34215    34216       +1     
  Branches      5643     5643              
===========================================
- Hits         21076    21073       -3     
- Misses       11625    11629       +4     
  Partials      1514     1514

since we're pulling everything out of KeyStore anyway, we may as well simplify
it.
Rewrite this so that it doesn't hammer the database.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants