A Health Check That Doesn't Hang
Write /home/student/net/healthcheck.py URLFILE, where URLFILE has one URL per line (blank lines may appear). It runs every minute from a monitor that kills it after 10 seconds.
This is a Pro problem
Pro unlocks every lab and quiz, all roadmaps and a full daily plan.
Unlock with ProPart of Python for DevOps. Next step: Retry a Flaky HTTP Call With Backoff
Teaching or writing about this? Embed this lab on your page