Skip to content

fix: add timeout to OneDriveReader HTTP requests (#22140)#22142

Open
C1-BA-B1-F3 wants to merge 1 commit into
run-llama:mainfrom
C1-BA-B1-F3:fix/onedrive-reader-timeout-22140
Open

fix: add timeout to OneDriveReader HTTP requests (#22140)#22142
C1-BA-B1-F3 wants to merge 1 commit into
run-llama:mainfrom
C1-BA-B1-F3:fix/onedrive-reader-timeout-22140

Conversation

@C1-BA-B1-F3

Copy link
Copy Markdown

Fixes #22140. Added 60s timeout to all requests.get() calls to prevent indefinite blocking.

requests.get() calls had no timeout parameter, causing indefinite
blocking when the server doesn't respond. Added _DEFAULT_REQUEST_TIMEOUT
= 60s to all requests.get calls to prevent thread pool starvation.
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Infinite block and thread pool starvation in OneDriveReader due to missing timeout in requests.get()

1 participant