Skip to content

Commit 87a9b2f

Browse files
committed
ref(transport): Add missing httpcore extensions
GH-4582
1 parent 6f18657 commit 87a9b2f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sentry_sdk/transport.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,14 @@ async def _request( # type: ignore[override]
638638
self._auth.get_api_url(endpoint_type),
639639
content=body,
640640
headers=headers, # type: ignore
641+
extensions={
642+
"timeout": {
643+
"pool": self.TIMEOUT,
644+
"connect": self.TIMEOUT,
645+
"write": self.TIMEOUT,
646+
"read": self.TIMEOUT,
647+
}
648+
},
641649
)
642650

643651
def _flush_client_reports(self: Self, force: bool = False) -> None:

0 commit comments

Comments
 (0)