Re:Understanding Recursion as an Absolute Beginner
by bananasbandanas on Friday September 06, 2019 @07:01AM
(#20894560)
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.
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.