Commit 66ce2372 authored by 吴升宇's avatar 吴升宇

fix txt

parent 960ce1bd
......@@ -32,7 +32,7 @@ def main():
"api_userextratocollege",
"api_doctor", "api_person", "social_userfollow", "api_userinnerinfo", "api_hospital",
"statistic_device",
"statistic_device_user", "api_bdtransfer", "hera_bdtransfer_auto_assignor", "api_userextra",
"statistic_device_user", "api_bdtransfer", "api_userextra",
"api_userextratocollege"]
......@@ -58,7 +58,7 @@ def main():
print(table, my_num, pg_num)
if my_num > pg_num:
delay_table_num += 1
msg += "zhengxing.{}延迟的数据量为{}条记录, mysql: {}, psql: {}".format(table, my_num - pg_num, my_num, pg_num)
msg += "zhengxing.{}延迟的数据量为{}条记录\n, mysql: {}\n, pgsql: {};\n".format(table, my_num - pg_num, my_num, str(pg_num))
if delay_table_num > 0:
msg += "有{}张表存在延迟".format(delay_table_num)
......
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