Skip to content

Add exponential backoff for flaky MS Graph API - #17

Merged
adammcdonagh merged 4 commits into
mainfrom
feat/add-retries-for-api-calls
Apr 22, 2026
Merged

Add exponential backoff for flaky MS Graph API#17
adammcdonagh merged 4 commits into
mainfrom
feat/add-retries-for-api-calls

Conversation

@adammcdonagh

Copy link
Copy Markdown
Collaborator

MS Graph API can be unreliable and randomly decide to take > 30 seconds to respond.

Current version of this addon has hardcoded timeouts between 5 and 30 seconds depending on the action. This is no good when MS decide to be slow

This change adds both a configurable timeout (defaults to 30 seconds) via the protocol definition, and also an exponential backoff wrapper around all API calls.

@adammcdonagh
adammcdonagh merged commit 10db22b into main Apr 22, 2026
16 checks passed
@adammcdonagh
adammcdonagh deleted the feat/add-retries-for-api-calls branch April 22, 2026 21:05
@adammcdonagh adammcdonagh mentioned this pull request Apr 23, 2026
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