Commit f6112e2b by zhaihuitao

update

parent 19dfa8ff
......@@ -6,6 +6,7 @@ import time
import os, sys
import socket, struct
import datetime
curPath = os.path.abspath(os.path.dirname(__file__))
rootPath = os.path.split(curPath)[0]
sys.path.append(rootPath)
......@@ -37,7 +38,7 @@ count = r[0]
p = requests.get(url=URL, params=param, timeout=30, verify=False)
time.sleep(250)
time.sleep(300)
mysqlCon = MysqlCon(host=host, username=username, password=password, db=db)
r = mysqlCon.get_one(sql=sql)
......@@ -47,4 +48,4 @@ if count + 1 == num:
print("指标确认正常")
else:
# print("指标异常,请关注")
1/0
\ No newline at end of file
1 / 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment