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

feat: redis cache decorator #20452

Merged
merged 12 commits into from
Mar 27, 2023
Merged

Conversation

nextchamp-saqib
Copy link
Member

@nextchamp-saqib nextchamp-saqib commented Mar 24, 2023

Same as @site_cache but set cache in redis instead of web worker.

extends: #17012

no-docs

@nextchamp-saqib nextchamp-saqib requested review from a team and shariquerik and removed request for a team March 24, 2023 06:38
@nextchamp-saqib nextchamp-saqib added the backport version-14-hotfix backport to version 14 label Mar 24, 2023
@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label Mar 24, 2023
frappe/utils/caching.py Outdated Show resolved Hide resolved
frappe/utils/caching.py Outdated Show resolved Hide resolved
@ankush ankush removed the request for review from shariquerik March 24, 2023 07:12
@ankush
Copy link
Member

ankush commented Mar 24, 2023

@nextchamp-saqib add tests :)

@ankush ankush marked this pull request as draft March 24, 2023 10:17
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Merging #20452 (08f9d10) into develop (6b3d283) will decrease coverage by 0.12%.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #20452      +/-   ##
===========================================
- Coverage    63.82%   63.71%   -0.12%     
===========================================
  Files          758      758              
  Lines        68645    68809     +164     
  Branches      6193     6193              
===========================================
+ Hits         43816    43843      +27     
- Misses       21316    21453     +137     
  Partials      3513     3513              
Flag Coverage Δ
server 68.77% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ankush ankush removed the add-test-cases Add test case to validate fix or enhancement label Mar 26, 2023
@ankush ankush marked this pull request as ready for review March 26, 2023 09:28
ankush
ankush previously approved these changes Mar 26, 2023
@ankush ankush added the tests-failing Automated tests are failing. Please resolve if it is due to the changes in current PR. label Mar 27, 2023
@ankush
Copy link
Member

ankush commented Mar 27, 2023

Weirdly site cache tests failing... how 🥴

@ankush ankush added the squash label Mar 27, 2023
@ankush ankush added defer backport Backports for some PR are deferred for a week or two to test them properly before releasing and removed backport version-14-hotfix backport to version 14 tests-failing Automated tests are failing. Please resolve if it is due to the changes in current PR. labels Mar 27, 2023
@ankush ankush merged commit 32dbbb4 into frappe:develop Mar 27, 2023
@ankush ankush removed the defer backport Backports for some PR are deferred for a week or two to test them properly before releasing label Mar 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2023
@nextchamp-saqib nextchamp-saqib added the backport version-14-hotfix backport to version 14 label Apr 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants