Skip to content

fix(http): sleep only when another retry is scheduled - #696

Open
AshSgDe29071999 wants to merge 1 commit into
BrainPad:masterfrom
AshSgDe29071999:fix/http-retry-sleep
Open

fix(http): sleep only when another retry is scheduled#696
AshSgDe29071999 wants to merge 1 commit into
BrainPad:masterfrom
AshSgDe29071999:fix/http-retry-sleep

Conversation

@AshSgDe29071999

@AshSgDe29071999 AshSgDe29071999 commented Aug 2, 2026

Copy link
Copy Markdown

Summary

  • Sleep between HTTP attempts only when a retry will follow.
  • Add a unit test asserting no sleep when retry_cnt=1.

Closes #577

Avoid sleeping after the final failed attempt in Http.execute.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Bug Fix for HTTP adapter error handling

1 participant