sentry
sentry copied to clipboard
feat(feedback): cache the feedback summary
Hopefully this one doesn't ping the whole company
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## master #93461 +/- ##
==========================================
+ Coverage 88.03% 88.09% +0.05%
==========================================
Files 10335 10324 -11
Lines 596828 595765 -1063
Branches 23196 22992 -204
==========================================
- Hits 525432 524852 -580
+ Misses 70937 70481 -456
+ Partials 459 432 -27
Changed cache key to: projects selected and year, month, day of start and end dates. Also made the cache time out after 1 hour. This is done so that if the same filters are selected, the cache stays the same for at least an hour and wouldn't immediately change if new feedbacks are submitted. Also, the time of the start and end dates are not used since if they were, the cache would become useless.