Skip to content

Commit

Permalink
ping an api endpoint:
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Dec 10, 2023
1 parent 2dbe4c0 commit ee09dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pioreactor/background_jobs/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def check_for_webserver(self):
retries = 5
while attempt < retries:
attempt += 1
res = get("http://localhost")
res = get("http://localhost/api/experiments/latest")
if res.ok:
break
sleep(1.0)
Expand Down

0 comments on commit ee09dfd

Please sign in to comment.