Skip to content

Commit 4d07f22

Browse files
authored
increase client timeout to 60 minutes (#198)
### Notes Increased the default timeout for partition calls to 60 minutes.
1 parent e1e2a1b commit 4d07f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/unstructured_client/_hooks/custom/split_pdf_hook.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def before_request(
275275
# Use a variable to adjust the httpx client timeout, or default to 30 minutes
276276
# When we're able to reuse the SDK to make these calls, we can remove this var
277277
# The SDK timeout will be controlled by parameter
278-
client_timeout_minutes = 30
278+
client_timeout_minutes = 60
279279
if timeout_var := os.getenv("UNSTRUCTURED_CLIENT_TIMEOUT_MINUTES"):
280280
client_timeout_minutes = int(timeout_var)
281281

0 commit comments

Comments
 (0)