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

Added index to SQL TTL cache #142

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Conversation

thehenrytsai
Copy link
Collaborator

  1. Added index to SQL TTL cache by leveraging latest dwn-sql-store
  2. Added handling of an edge race condition.

@codecov-commenter
Copy link

codecov-commenter commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.77%. Comparing base (199355d) to head (28d6718).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   94.72%   94.77%   +0.04%     
==========================================
  Files          27       27              
  Lines        2732     2756      +24     
  Branches      351      353       +2     
==========================================
+ Hits         2588     2612      +24     
  Misses        143      143              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@LiranCohen LiranCohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a small nit with a comment.

Also package-lock.json doesn't seem to reflect the bumped version 0.4.1

src/web5-connect/web5-connect-server.ts Outdated Show resolved Hide resolved
src/web5-connect/web5-connect-server.ts Outdated Show resolved Hide resolved
Copy link
Member

@LiranCohen LiranCohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 🚀 🚀

@thehenrytsai thehenrytsai merged commit 704cbb4 into main Jul 3, 2024
8 checks passed
@thehenrytsai thehenrytsai deleted the henrytsai/ttl-cache-index branch July 3, 2024 17:33
bnonni pushed a commit to FormFree/dwn-server that referenced this pull request Aug 7, 2024
1. Added index to SQL TTL cache by leveraging latest `dwn-sql-store`
1. Added handling of an edge race condition.

---------

Co-authored-by: Liran Cohen <[email protected]>
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.

3 participants