Skip to content

Commit

Permalink
chore(uptime): Bump ACTIVE_FAILURE_THRESHOLD to 3
Browse files Browse the repository at this point in the history
Since we're moving to 60 second intervals, we want a slightly higher failure threshold
  • Loading branch information
wedamija committed Aug 14, 2024
1 parent 0dda960 commit 14b4e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/uptime/consumers/results_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
AUTO_DETECTED_ACTIVE_SUBSCRIPTION_INTERVAL = timedelta(minutes=1)
# When in active monitoring mode, how many failures in a row do we need to see to mark the monitor as down, or how many
# successes in a row do we need to mark it up
ACTIVE_FAILURE_THRESHOLD = 2
ACTIVE_FAILURE_THRESHOLD = 3
ACTIVE_RECOVERY_THRESHOLD = 1
# The TTL of the redis key used to track consecutive statuses
ACTIVE_THRESHOLD_REDIS_TTL = timedelta(minutes=60)
Expand Down

0 comments on commit 14b4e99

Please sign in to comment.