Skip to content

fix(sessions): prevent overlapping polling requests - #68

Merged
ZacharyZcR merged 1 commit into
Termix-SSH:dev-1.5.0from
ZacharyZcR:fix/prevent-overlapping-polls
Aug 28, 2026
Merged

fix(sessions): prevent overlapping polling requests#68
ZacharyZcR merged 1 commit into
Termix-SSH:dev-1.5.0from
ZacharyZcR:fix/prevent-overlapping-polls

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • track whether the current polling callback is still running
  • skip interval ticks until the in-flight callback settles
  • preserve immediate polling on enable and app resume

Validation

  • npx eslint app/tabs/sessions/_shared/usePolling.ts
  • npx tsc --noEmit
  • git diff --check

@ZacharyZcR
ZacharyZcR merged commit 139e2ed into Termix-SSH:dev-1.5.0 Aug 28, 2026
2 checks passed
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