Skip to content

feat(feedback): cache the feedback summary #93461

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

Merged
merged 12 commits into from
Jun 18, 2025
Prev Previous commit
Next Next commit
remove comment
  • Loading branch information
vishnupsatish committed Jun 17, 2025
commit 3faa50458f38cb15443afe3b9632f4820dda63ac
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def get(self, request: Request, organization: Organization) -> Response:
project_ids = [str(project_id) for project_id in numeric_project_ids]
hashed_project_ids = hash_from_values(project_ids)

# Cache key should be the filters that were selected by the user, start and end dates at hour granularity
summary_cache_key = f"feedback_summary:{organization.id}:{start.strftime('%Y-%m-%d-%H')}:{end.strftime('%Y-%m-%d-%H')}:{hashed_project_ids}"
summary_cache = cache.get(summary_cache_key)
if summary_cache:
Expand Down
Loading