Commit 3d13c23
authored
fix: raise httpx timeout value for split pdf requests (#168)
We're still seeing some ReadTimeout errors when a pdf is split and sent
for `hi_res` processing. For now, let's raise the default timeout to 30
minutes, and allow for tweaking via the
UNSTRUCTURED_CLIENT_TIMEOUT_MINUTES. Users should not generally need to
adjust this, but it may help us debug their environment. When our split
pdf hook is able to reuse the SDK logic, the client timeout will be
exposed as a parameter, and we can remove this variable.
Other changes:
* Update CI workflow to run against release branches. This 0.25.x branch
should be running tests as long as it sticks around.
* Bump the gen.yaml version to 0.25.7. The next generate/publish job on
this branch will use this.1 parent adbee1d commit 3d13c23
File tree
3 files changed
+12
-5
lines changed- .github/workflows
- src/unstructured_client/_hooks/custom
3 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
255 | 263 | | |
256 | | - | |
257 | | - | |
| 264 | + | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
| |||
0 commit comments