Merge pull request #3335 from seefs001/chore/adjuct-default-settings

adjuct default settings
This commit is contained in:
Calcium-Ion
2026-03-23 15:03:01 +08:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ var channelAffinitySetting = ChannelAffinitySetting{
ValueRegex: "", ValueRegex: "",
TTLSeconds: 0, TTLSeconds: 0,
ParamOverrideTemplate: buildPassHeaderTemplate(codexCliPassThroughHeaders), ParamOverrideTemplate: buildPassHeaderTemplate(codexCliPassThroughHeaders),
SkipRetryOnFailure: false, SkipRetryOnFailure: true,
IncludeUsingGroup: true, IncludeUsingGroup: true,
IncludeRuleName: true, IncludeRuleName: true,
UserAgentInclude: nil, UserAgentInclude: nil,
@@ -103,7 +103,7 @@ var channelAffinitySetting = ChannelAffinitySetting{
ValueRegex: "", ValueRegex: "",
TTLSeconds: 0, TTLSeconds: 0,
ParamOverrideTemplate: buildPassHeaderTemplate(claudeCliPassThroughHeaders), ParamOverrideTemplate: buildPassHeaderTemplate(claudeCliPassThroughHeaders),
SkipRetryOnFailure: false, SkipRetryOnFailure: true,
IncludeUsingGroup: true, IncludeUsingGroup: true,
IncludeRuleName: true, IncludeRuleName: true,
UserAgentInclude: nil, UserAgentInclude: nil,

View File

@@ -36,7 +36,7 @@ var performanceSetting = PerformanceSetting{
MonitorEnabled: true, MonitorEnabled: true,
MonitorCPUThreshold: 90, MonitorCPUThreshold: 90,
MonitorMemoryThreshold: 90, MonitorMemoryThreshold: 90,
MonitorDiskThreshold: 90, MonitorDiskThreshold: 95,
} }
func init() { func init() {

View File

@@ -68,7 +68,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = {
param_override_template: CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE, param_override_template: CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE,
value_regex: '', value_regex: '',
ttl_seconds: 0, ttl_seconds: 0,
skip_retry_on_failure: false, skip_retry_on_failure: true,
include_using_group: true, include_using_group: true,
include_rule_name: true, include_rule_name: true,
}, },
@@ -80,7 +80,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = {
param_override_template: CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE, param_override_template: CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE,
value_regex: '', value_regex: '',
ttl_seconds: 0, ttl_seconds: 0,
skip_retry_on_failure: false, skip_retry_on_failure: true,
include_using_group: true, include_using_group: true,
include_rule_name: true, include_rule_name: true,
}, },

View File

@@ -71,7 +71,7 @@ export default function SettingsPerformance(props) {
'performance_setting.monitor_enabled': false, 'performance_setting.monitor_enabled': false,
'performance_setting.monitor_cpu_threshold': 90, 'performance_setting.monitor_cpu_threshold': 90,
'performance_setting.monitor_memory_threshold': 90, 'performance_setting.monitor_memory_threshold': 90,
'performance_setting.monitor_disk_threshold': 90, 'performance_setting.monitor_disk_threshold': 95,
}); });
const refForm = useRef(); const refForm = useRef();
const [inputsRow, setInputsRow] = useState(inputs); const [inputsRow, setInputsRow] = useState(inputs);