Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sentry/uptime/consumers/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def process_uptime_backlog(subscription_id: str, attempt: int = 1):
cluster.zrem(backlog_key, result_json)
metrics.incr("uptime.backlog.removed", amount=1, sample_rate=1.0, tags=metric_tags)
expected_next_ms += subscription_interval_ms
last_update_ms = result["scheduled_check_time_ms"]
processed_count += 1

# If we've hit max attempts process all remaining with backfill
Expand All @@ -119,6 +118,7 @@ def process_uptime_backlog(subscription_id: str, attempt: int = 1):
"uptime_region": result["region"],
"host_provider": host_provider,
}
last_update_ms = int(cluster.get(last_update_key) or 0)
create_backfill_misses(
detector,
subscription,
Expand Down
Loading