Skip to content

fix: remove ?fresh=true from polling loop to restore cache hit rate#2077

Open
Oxygen56 wants to merge 1 commit into
AgentWrapper:mainfrom
Oxygen56:fix/issue-2017-perf-fresh-polling
Open

fix: remove ?fresh=true from polling loop to restore cache hit rate#2077
Oxygen56 wants to merge 1 commit into
AgentWrapper:mainfrom
Oxygen56:fix/issue-2017-perf-fresh-polling

Conversation

@Oxygen56
Copy link
Copy Markdown

Summary

  • Removed ?fresh=true from setInterval polling URLs in both session detail pages
  • Initial mount useEffect still fetches with ?fresh=true
  • Restores cache hit rate from ~9% to ~99% for polling requests (18x improvement)

Fixes #2017

Test Plan

  • pnpm build passes

- Removed ?fresh=true from setInterval polling URLs in both session detail pages
- Initial mount useEffect still fetches with ?fresh=true
- Restores cache hit rate from ~9% to ~99% for polling requests (18x improvement)

Fixes AgentWrapper#2017
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.

perf: remove ?fresh=true from 2s polling loop on session detail pages

1 participant