diff --git a/setting/operation_setting/channel_affinity_setting.go b/setting/operation_setting/channel_affinity_setting.go index 7727315a..74213e99 100644 --- a/setting/operation_setting/channel_affinity_setting.go +++ b/setting/operation_setting/channel_affinity_setting.go @@ -88,7 +88,7 @@ var channelAffinitySetting = ChannelAffinitySetting{ ValueRegex: "", TTLSeconds: 0, ParamOverrideTemplate: buildPassHeaderTemplate(codexCliPassThroughHeaders), - SkipRetryOnFailure: false, + SkipRetryOnFailure: true, IncludeUsingGroup: true, IncludeRuleName: true, UserAgentInclude: nil, @@ -103,7 +103,7 @@ var channelAffinitySetting = ChannelAffinitySetting{ ValueRegex: "", TTLSeconds: 0, ParamOverrideTemplate: buildPassHeaderTemplate(claudeCliPassThroughHeaders), - SkipRetryOnFailure: false, + SkipRetryOnFailure: true, IncludeUsingGroup: true, IncludeRuleName: true, UserAgentInclude: nil, diff --git a/setting/performance_setting/config.go b/setting/performance_setting/config.go index b4baff87..4f02dc7b 100644 --- a/setting/performance_setting/config.go +++ b/setting/performance_setting/config.go @@ -36,7 +36,7 @@ var performanceSetting = PerformanceSetting{ MonitorEnabled: true, MonitorCPUThreshold: 90, MonitorMemoryThreshold: 90, - MonitorDiskThreshold: 90, + MonitorDiskThreshold: 95, } func init() { diff --git a/web/src/constants/channel-affinity-template.constants.js b/web/src/constants/channel-affinity-template.constants.js index 4bae7d0b..f3e88c26 100644 --- a/web/src/constants/channel-affinity-template.constants.js +++ b/web/src/constants/channel-affinity-template.constants.js @@ -68,7 +68,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = { param_override_template: CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE, value_regex: '', ttl_seconds: 0, - skip_retry_on_failure: false, + skip_retry_on_failure: true, include_using_group: true, include_rule_name: true, }, @@ -80,7 +80,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = { param_override_template: CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE, value_regex: '', ttl_seconds: 0, - skip_retry_on_failure: false, + skip_retry_on_failure: true, include_using_group: true, include_rule_name: true, }, diff --git a/web/src/pages/Setting/Performance/SettingsPerformance.jsx b/web/src/pages/Setting/Performance/SettingsPerformance.jsx index 5af9417c..0e30bcb6 100644 --- a/web/src/pages/Setting/Performance/SettingsPerformance.jsx +++ b/web/src/pages/Setting/Performance/SettingsPerformance.jsx @@ -71,7 +71,7 @@ export default function SettingsPerformance(props) { 'performance_setting.monitor_enabled': false, 'performance_setting.monitor_cpu_threshold': 90, 'performance_setting.monitor_memory_threshold': 90, - 'performance_setting.monitor_disk_threshold': 90, + 'performance_setting.monitor_disk_threshold': 95, }); const refForm = useRef(); const [inputsRow, setInputsRow] = useState(inputs);