Skip to content

Commit 558e1cd

Browse files
authored
Update monitor.py
1 parent 728e064 commit 558e1cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Api_Check/src/monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def ecc_action(self):
381381
}
382382

383383
# 业务层重试配置
384-
max_business_retries = 5
384+
max_business_retries = 15
385385
retry_delay = self.config['retry']['retry_delay']
386386
total_retry_count = 0
387387

@@ -394,7 +394,7 @@ def make_request():
394394
# 使用加强的重试机制(5次重试)
395395
if business_attempt == 0:
396396
print(f" 发送密钥注册请求: {url}")
397-
print(f" ℹ 关键API - 使用加强重试策略(最多5次)")
397+
print(f" ℹ 关键API - 使用加强重试策略(最多15次)")
398398

399399
response, retry_count = self._retry_request(make_request, max_retries_override=5)
400400
total_retry_count += retry_count

0 commit comments

Comments
 (0)