|
@@ -109,10 +109,6 @@ def healthcheck(ipaddr,server_name):
|
|
|
res = requests.post(url, timeout=5)
|
|
|
return res.status_code
|
|
|
|
|
|
- elif svc_name == "recommend-api.prod":
|
|
|
- url = "http://{}:8080/longvideoapi/healthcheck".format(ipaddr)
|
|
|
- res = requests.post(url, timeout=5)
|
|
|
- return res.status_code
|
|
|
|
|
|
elif svc_name == "recommend-rov.prod":
|
|
|
url = "http://{}:8080/healthcheck".format(ipaddr)
|
|
@@ -135,7 +131,7 @@ def healthcheck(ipaddr,server_name):
|
|
|
return res.status_code
|
|
|
|
|
|
elif svc_name == "spider.prod":
|
|
|
- url = "http://{}:9990/version".format(ipaddr)
|
|
|
+ url = "http://{}:9990/test/version".format(ipaddr)
|
|
|
try:
|
|
|
res = requests.post(url, timeout=5)
|
|
|
except Exception as e:
|