Skip to content

Commit b5d3846

Browse files
authored
Update monitor.py
1 parent bf4216c commit b5d3846

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Api_Check/src/monitor.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,20 +1650,20 @@ def run_all_checks(self):
16501650
check_region = settings.CHECK_REGION.lower()
16511651
if check_region in ["intl", "both"]:
16521652
self.check_login("国际登录服务", "intl")
1653-
if check_region in ["cn", "both"]:
1654-
self.check_login("国内登录服务","cn")
1653+
# if check_region in ["cn", "both"]:
1654+
# self.check_login("国内登录服务","cn")
16551655

16561656

1657-
print("\n[2] 检查验证码服务...")
1658-
import os
1659-
test_account = os.getenv("USER_CODE") or settings.USER
1660-
self.check_verification_code(test_account)
1657+
# print("\n[2] 检查验证码服务...")
1658+
# import os
1659+
# test_account = os.getenv("USER_CODE") or settings.USER
1660+
# self.check_verification_code(test_account)
16611661

1662-
print("\n[3] 检查设备密钥注册服务...")
1663-
self.check_device_auth()
1662+
# print("\n[3] 检查设备密钥注册服务...")
1663+
# self.check_device_auth()
16641664

1665-
print("\n[4] 检查设备Token认证服务...")
1666-
self.check_device_token_auth()
1665+
# print("\n[4] 检查设备Token认证服务...")
1666+
# self.check_device_token_auth()
16671667

16681668
print("\n[5] 检查健康检查 URL...")
16691669
self.check_health_urls()

0 commit comments

Comments
 (0)