Skip to content

Commit

Permalink
fix(uptime): Match max interval_seconds with the uptime checker (#78071)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser authored Sep 24, 2024
1 parent 137b80d commit 4221105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/uptime/endpoints/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class UptimeMonitorValidator(CamelSnakeSerializer):
)
url = URLField(required=True, max_length=255)
interval_seconds = serializers.IntegerField(
required=True, min_value=60, max_value=int(timedelta(days=1).total_seconds())
required=True, min_value=60, max_value=int(timedelta(hours=1).total_seconds())
)
mode = serializers.IntegerField(required=False)
method = serializers.ChoiceField(
Expand Down

0 comments on commit 4221105

Please sign in to comment.