-
Notifications
You must be signed in to change notification settings - Fork 89
feat: add global retry settings and endpoint filtering #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -66,6 +66,8 @@ export default { | |||||
| portUpdateFailed: '端口修改失败:{error}', | ||||||
| requiredFields: '请填写所有必填项', | ||||||
| modelRequired: '使用 {transformer} 转换器时,模型字段为必填项', | ||||||
| retryCountInvalid: '重试次数需在 1-10 之间', | ||||||
| retryDelayInvalid: '重试间隔需在 0-300 秒之间', | ||||||
| saveFailed: '保存失败:{error}', | ||||||
| confirmDelete: '确认删除端点 "{name}" 吗?', | ||||||
| deleteFailed: '删除失败:{error}' | ||||||
|
|
@@ -155,6 +157,12 @@ export default { | |||||
| minimize: '最小化到托盘', | ||||||
| ask: '每次询问' | ||||||
| }, | ||||||
| retryCount: '重试次数', | ||||||
| retryCountHelp: '全局每个端点的连续重试次数,超出后切换(1-10)', | ||||||
| retryDelaySec: '重试间隔(秒)', | ||||||
| retryDelaySecHelp: '全局每次重试前等待时间(0-300 秒)', | ||||||
| retryCountInvalid: '重试次数需在 1-10 之间', | ||||||
| retryDelayInvalid: '重试间隔需在 0-300 秒之间', | ||||||
|
Comment on lines
+164
to
+165
|
||||||
| retryCountInvalid: '重试次数需在 1-10 之间', | |
| retryDelayInvalid: '重试间隔需在 0-300 秒之间', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate translation keys. The keys
retryCountInvalidandretryDelayInvalidare already defined in theendpointssection (lines 69-70). These duplicate entries in thesettingssection should be removed to avoid confusion and maintain a single source of truth for these error messages.