You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
The Graph SDK will set a 100s timeout on the context if a deadline is not set on the provided ctx.
This is not-sufficient for long running requests (e.g. Attachment fetch) and also is not being reset across retry attempts.
We need to set an appropriate timeout when calling the SDK (we currently use ctx.Background() which triggers the "no deadline" logic in the SDK). Also need to make sure this timeout is reset for retries.
The text was updated successfully, but these errors were encountered:
This has been fixed upstream with microsoft/kiota-http-go#71 . We don't need this hack anymore.
---
#### Does this PR need a docs update or release note?
- [x] ✅ Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [ ] ⛔ No
#### Type of change
<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [x] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup
#### Issue(s)
<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #2849
* #2694
* closes#2893
* closes#2892
* #2891
#### Test Plan
<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [ ] ⚡ Unit test
- [ ] 💚 E2E
The Graph SDK will set a 100s timeout on the context if a deadline is not set on the provided
ctx
.This is not-sufficient for long running requests (e.g. Attachment fetch) and also is not being reset across retry attempts.
We need to set an appropriate timeout when calling the SDK (we currently use
ctx.Background()
which triggers the "no deadline" logic in the SDK). Also need to make sure this timeout is reset for retries.The text was updated successfully, but these errors were encountered: