Skip to content

Conversation

@jsonbailey
Copy link
Contributor

@jsonbailey jsonbailey commented Jan 13, 2026

Note

Implements controlled backoff for recoverable HTTP errors and simplifies loop control.

  • Replace self._event with self._interrupt_event and clear it at sync start
  • After recoverable error (INTERRUPTED), wait poll_interval on self._interrupt_event before retrying
  • Use self._interrupt_event.wait(poll_interval) for the regular poll cadence and to break on stop()
  • stop() now sets self._interrupt_event to interrupt any pending waits

Written by Cursor Bugbot for commit 02090b5. This will update automatically on new commits. Configure here.

@jsonbailey jsonbailey requested a review from a team as a code owner January 13, 2026 16:32
@jsonbailey jsonbailey merged commit da565a2 into main Jan 13, 2026
16 checks passed
@jsonbailey jsonbailey deleted the jb/sdk-1748/prevent-immediate-polling-retry branch January 13, 2026 17:30
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.

3 participants