-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
[DRAFT] fix: Change url in cache-warmup celery task #15713
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15713 +/- ##
==========================================
- Coverage 76.94% 76.68% -0.26%
==========================================
Files 983 983
Lines 51700 51736 +36
Branches 6983 6983
==========================================
- Hits 39780 39676 -104
- Misses 11696 11836 +140
Partials 224 224
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@etr2460 @john-bodley @graceguo-supercat I believe y'all make use of the cache warmup feature, do these changes make sense? |
Can we add an example (can be commented out) to the default Celery beat config in config.py so other users know how to enable cache warmup scheduling? |
@nytai thanks for the alert :) |
Having more test and I encounter that |
@duynguyenhoang were you able to get this to work ? |
Hi @t0il3ts0ap, |
Any updates? |
Hi @b1de0 unfortunately I am quite busy recently. I couldn't make it work. The cache API has been changed alot after version 1.0. I need to spend more time to understand the new implementation in order to fix this issue properly. |
For charts that are using the new chart data endpoint the cache key should be calculated based on the @duynguyenhoang let me know if you have time to work on this and need help. |
@villebro thank you for your input, I might have some free time next week. I will check your suggestion and will ask you if I have any further questions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
this issue not solved yet #bug |
Hi @duynguyenhoang this cache refresh is not working in 2.0 also can you please reopen this? |
Its working in 3.0.2 version but not in 3.1.0 |
SUMMARY
Currently, there is cache-warmup task allows us to warm up dashboards/slices. But this feature is not working at all.
There is also available endpoint to warmup cache, this pull request will use that endpoint.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Example Beat schedule config
ADDITIONAL INFORMATION