Hacker News new | ask | show | jobs
by bananasbandanas 2485 days ago
Why not?

Just schedule a single health check with a loop that tries to health-check N times in a loop, with a delay in between. If the check succeeds at any point, return 'healthy' early.

Or schedule N health checks at different times, if any check succeeds cancel all others, etc. etc.