Skip to content

fix: 避免后台隐藏页面刷新状态#116

Merged
GcsSloop merged 1 commit into
mainfrom
codex/skip-hidden-status-refresh
May 12, 2026
Merged

fix: 避免后台隐藏页面刷新状态#116
GcsSloop merged 1 commit into
mainfrom
codex/skip-hidden-status-refresh

Conversation

@GcsSloop
Copy link
Copy Markdown
Owner

变更

  • 页面不可见时跳过自动状态刷新和即时用量刷新
  • 页面恢复可见时刷新一次本地状态,长时间隐藏后再触发用量刷新
  • 用量刷新失败后增加短暂 backoff,避免 VPN 关闭时连续重试

验证

  • npm --prefix frontend test

@GcsSloop GcsSloop merged commit 5798bb1 into main May 12, 2026
2 checks passed
@GcsSloop GcsSloop deleted the codex/skip-hidden-status-refresh branch May 12, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant