Skip to content

Commit 4aadea1

Browse files
committed
chore(uptime): Bump ACTIVE_FAILURE_THRESHOLD to 3
Since we're moving to 60 second intervals, we want a slightly higher failure threshold
1 parent 9169a7d commit 4aadea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/uptime/consumers/results_consumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
AUTO_DETECTED_ACTIVE_SUBSCRIPTION_INTERVAL = timedelta(minutes=1)
4848
# 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
4949
# successes in a row do we need to mark it up
50-
ACTIVE_FAILURE_THRESHOLD = 2
50+
ACTIVE_FAILURE_THRESHOLD = 3
5151
ACTIVE_RECOVERY_THRESHOLD = 1
5252
# The TTL of the redis key used to track consecutive statuses
5353
ACTIVE_THRESHOLD_REDIS_TTL = timedelta(minutes=60)

0 commit comments

Comments
 (0)