Skip to content

Commit 3629609

Browse files
committed
ref(transport): Add missing httpcore extensions
GH-4582
1 parent 6d69406 commit 3629609

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
@@ -636,6 +636,14 @@ async def _request( # type: ignore[override]
636636
self._auth.get_api_url(endpoint_type),
637637
content=body,
638638
headers=headers, # type: ignore
639+
extensions={
640+
"timeout": {
641+
"pool": self.TIMEOUT,
642+
"connect": self.TIMEOUT,
643+
"write": self.TIMEOUT,
644+
"read": self.TIMEOUT,
645+
}
646+
},
639647
)
640648

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

0 commit comments

Comments
 (0)