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

refactor(redis): driver improvements #160

Merged
merged 4 commits into from
Feb 27, 2023
Merged

refactor(redis): driver improvements #160

merged 4 commits into from
Feb 27, 2023

Conversation

itpropro
Copy link
Member

  • Refactored redis driver to conform with unstorage driver standards
  • Added tests with in-memory redis
  • Added cluster support, fixes Redis Cluster #157
  • Updated docs

Refactored redis driver to conform with unstorage driver standards; Added tests with in-memory redis; Added cluster support; Updated docs
@itpropro itpropro requested a review from pi0 February 21, 2023 02:55
@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #160 (afa405d) into main (0614d36) will increase coverage by 10.83%.
The diff coverage is 95.00%.

❗ Current head afa405d differs from pull request most recent head 7a70c29. Consider uploading reports for the commit 7a70c29 to get more accurate results

@@             Coverage Diff             @@
##             main     #160       +/-   ##
===========================================
+ Coverage   78.90%   89.73%   +10.83%     
===========================================
  Files          22       16        -6     
  Lines        2223     1423      -800     
  Branches      391      321       -70     
===========================================
- Hits         1754     1277      -477     
+ Misses        469      146      -323     
Impacted Files Coverage Δ
src/drivers/redis.ts 96.20% <95.00%> (+0.55%) ⬆️
src/index.ts 95.65% <0.00%> (-0.78%) ⬇️
src/drivers/mongodb.ts
src/drivers/azure-key-vault.ts
src/drivers/azure-storage-blob.ts
src/drivers/azure-cosmos.ts
src/drivers/azure-storage-table.ts
src/drivers/azure-app-configuration.ts

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pi0 pi0 changed the title feat(driver): Refactored redis driver refactor(redis): driver improvements Feb 27, 2023
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks 💯

@pi0 pi0 merged commit 5db23b8 into main Feb 27, 2023
@pi0 pi0 deleted the feat/redis-refactor branch February 27, 2023 20:22
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.

Redis Cluster
2 participants