Skip to content

Commit

Permalink
chore: add time unit for failover health check (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7258 authored Jan 24, 2025
1 parent 89a09de commit 0e57d52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions frontend/src/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@
"failoverEnabled": "Token Failover",
"failoverEnabledExtra": "If enabled, when the count of failed requests with a certain auth token exceeds the threshold, Higress will no long send requests with it, until following health check requests get a certain number of successes.",
"failureThreshold": "Min Consecuitive Failures to Mark Down a Token",
"healthCheckInterval": "Health Check Request Interval",
"healthCheckInterval": "Health Check Request Interval (ms)",
"healthCheckModel": "Health Check Request LLM Model",
"healthCheckTimeout": "Health Check Request Timeout",
"healthCheckTimeout": "Health Check Request Timeout (ms)",
"protocol": "Request Procotol",
"serviceName": "Service Name",
"successThreshold": "Min Consecuitive Sucesses to Mark Up a Token",
Expand All @@ -234,8 +234,8 @@
"typeRequired": "Please select a LLM provider",
"serviceNameRequired": "Please input service name",
"failureThresholdRequired": "Please input min consecuitive failures to mark down a token",
"healthCheckTimeoutRequired": "Please input health check request timeout",
"healthCheckIntervalRequired": "Please input health check request interval",
"healthCheckTimeoutRequired": "Please input health check request timeout (ms)",
"healthCheckIntervalRequired": "Please input health check request interval (ms)",
"healthCheckModelRequired": "Please input health check request LLM model",
"protocol": "Please select a request protocol",
"successThresholdRequired": "Please input min consecuitive sucesses to mark up a token",
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/locales/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@
"failoverEnabled": "令牌降级",
"failoverEnabledExtra": "启用后,若某一认证令牌返回异常响应的数量超出网值,Higress 将暂停使用该令牌发起请求,直至后续健康检测请求连续收到一定数量的正常响应。",
"failureThreshold": "令牌不可用时需满足的最小连续请求失败次数",
"healthCheckInterval": "健康检测请求发起间隔",
"healthCheckInterval": "健康检测请求发起间隔(毫秒)",
"healthCheckModel": "健康检测请求使用的模型名称",
"healthCheckTimeout": "健康检测请求超时时间",
"healthCheckTimeout": "健康检测请求超时时间(毫秒)",
"protocol": "协议",
"serviceName": "服务名称",
"successThreshold": "令牌可用时需满足的最小连续健康检测成功次数",
Expand All @@ -233,8 +233,8 @@
"typeRequired": "请选择大模型供应商",
"serviceNameRequired": "请输入服务名称",
"failureThresholdRequired": "请输入最小连续请求失败次数",
"healthCheckTimeoutRequired": "请输入健康检测请求超时时间",
"healthCheckIntervalRequired": "请输入健康检测请求发起间隔",
"healthCheckTimeoutRequired": "请输入健康检测请求超时时间(毫秒)",
"healthCheckIntervalRequired": "请输入健康检测请求发起间隔(毫秒)",
"healthCheckModelRequired": "请输入健康检测请求使用的模型名称",
"protocol": "请选择请求协议",
"successThresholdRequired": "请输入最小连续健康检测成功次数",
Expand Down Expand Up @@ -594,4 +594,4 @@
"isRequired": "是必填的",
"invalidSchema": "由于 schema 信息无法正常解析,本插件只支持 YAML 编辑方式。"
}
}
}

0 comments on commit 0e57d52

Please sign in to comment.