Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/+connection-timeout.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Changed the default connection timeout in the SDK to 60s.
2 changes: 1 addition & 1 deletion infrahub_sdk/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
pagination_size: int = Field(default=50, description="Page size for queries to the server")
retry_delay: int = Field(default=5, description="Number of seconds to wait until attempting a retry.")
retry_on_failure: bool = Field(default=False, description="Retry operation in case of failure")
timeout: int = Field(default=10, description="Default connection timeout in seconds")
timeout: int = Field(default=60, description="Default connection timeout in seconds")

Check warning on line 57 in infrahub_sdk/config.py

View check run for this annotation

Codecov / codecov/patch

infrahub_sdk/config.py#L57

Added line #L57 was not covered by tests
transport: RequesterTransport = Field(
default=RequesterTransport.HTTPX, description="Set an alternate transport using a predefined option"
)
Expand Down