- Notifications
You must be signed in to change notification settings - Fork321
Commit015a73e
authored
fix: add minimum timeout to getQueryResults API requests (#444)
* fix: add minimum timeout to getQueryResults API requestsSince successful responses can still take a long time to download, havea minimum timeout which should accomodate 99.9%+ of responses.I figure it's more important that *any* timeout is set if desired thanit is that the specific timeout is used. This is especially true incases where a short timeout is requested for the purposes of a progressbar. Making forward progress is more important than the progress barupdate frequency.* docs: document minimum timeout value* test: remove redundant query timeout test* test: change assertion for done method* chore: remove unused import1 parent0023d19 commit015a73e
File tree
4 files changed
+64
-26
lines changed- google/cloud/bigquery
- tests
- unit
- job
4 files changed
+64
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
| |||
1570 | 1578 | | |
1571 | 1579 | | |
1572 | 1580 | | |
1573 | | - | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
1574 | 1584 | | |
1575 | 1585 | | |
1576 | 1586 | | |
| |||
1579 | 1589 | | |
1580 | 1590 | | |
1581 | 1591 | | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
1582 | 1595 | | |
1583 | 1596 | | |
1584 | 1597 | | |
| |||
3293 | 3306 | | |
3294 | 3307 | | |
3295 | 3308 | | |
3296 | | - | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
3297 | 3312 | | |
3298 | 3313 | | |
3299 | 3314 | | |
| |||
3306 | 3321 | | |
3307 | 3322 | | |
3308 | 3323 | | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
3309 | 3327 | | |
3310 | 3328 | | |
3311 | 3329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
1798 | 1797 | | |
1799 | 1798 | | |
1800 | 1799 | | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
1801 | 1803 | | |
1802 | 1804 | | |
1803 | 1805 | | |
| 1806 | + | |
| 1807 | + | |
1804 | 1808 | | |
1805 | 1809 | | |
1806 | 1810 | | |
1807 | | - | |
1808 | 1811 | | |
1809 | 1812 | | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
1810 | 1819 | | |
1811 | 1820 | | |
1812 | 1821 | | |
| |||
2408 | 2417 | | |
2409 | 2418 | | |
2410 | 2419 | | |
2411 | | - | |
2412 | | - | |
2413 | | - | |
2414 | | - | |
2415 | | - | |
2416 | | - | |
2417 | | - | |
2418 | | - | |
2419 | | - | |
2420 | | - | |
2421 | | - | |
2422 | | - | |
2423 | | - | |
2424 | | - | |
2425 | | - | |
2426 | | - | |
2427 | | - | |
2428 | | - | |
2429 | | - | |
2430 | | - | |
2431 | 2420 | | |
2432 | 2421 | | |
2433 | 2422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
1049 | 1051 | | |
1050 | 1052 | | |
1051 | 1053 | | |
| |||
1072 | 1074 | | |
1073 | 1075 | | |
1074 | 1076 | | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1075 | 1081 | | |
1076 | 1082 | | |
1077 | 1083 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
324 | 349 | | |
325 | 350 | | |
326 | 351 | | |
| |||
0 commit comments
Comments
(0)