Skip to content

Commit

Permalink
Adjust comment to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z committed Apr 25, 2024
1 parent c7764fa commit cd9ec68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def build_info():
def health():
current_time = time.time()
success = True
# Assuming the /health endpoint is called every 10 seconds, ping Sentry at least every minute.
# Assuming the /health endpoint is called every 10 seconds, ping Sentry about once every minute.
if IS_SENTRY_ENABLED and current_time - state["sentry_cron_last_ping_time"] > 50:
state["sentry_cron_last_ping_time"] = current_time
capture_checkin(
Expand Down

0 comments on commit cd9ec68

Please sign in to comment.