Browse Source

feat(helpful-event): Narrow down timerange to 7 days (#52453)

Malachi Willey 1 year ago
parent
commit
03ae23e0ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sentry/models/group.py

+ 1 - 1
src/sentry/models/group.py

@@ -260,7 +260,7 @@ def get_helpful_event_for_environments(
         all_conditions.extend(conditions)
 
     end = group.last_seen + timedelta(minutes=1)
-    start = end - timedelta(days=14)
+    start = end - timedelta(days=7)
 
     events = eventstore.get_events_snql(
         organization_id=group.project.organization_id,