feat(settings): 支持在系统设置中配置后台探针与恢复间隔#63
Merged
james-6-23 merged 2 commits intojames-6-23:mainfrom Apr 10, 2026
Merged
Conversation
- add persisted system settings for background refresh, usage probe max age, and recovery probe interval - wire runtime updates into the store so saved intervals take effect without restart - add settings page controls and i18n copy for the new scheduler timing options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
描述
本 PR 将账号后台巡检相关的几个硬编码时间参数改为可配置的系统设置,并在系统设置页面新增对应入口,支持持久化保存与运行时生效。
具体包括:
这样可以根据号池规模和使用场景,灵活调整后台遍历账号、请求
backend-api/codex/responses的频率,减少不必要的探测流量。变更类型
变更内容
Store新增运行时配置项与 getter/setter测试
已执行:
go test ./...cd frontend && npm run build影响说明
相关 Issue
N/A