Title: default (per API request) timeout of 5 minutes · Issue #889 · googleapis/python-bigquery · GitHub
Open Graph Title: default (per API request) timeout of 5 minutes · Issue #889 · googleapis/python-bigquery
X Title: default (per API request) timeout of 5 minutes · Issue #889 · googleapis/python-bigquery
Description: Is your feature request related to a problem? Please describe. Since we don't have a timeout by default on our HTTP calls, it's possible that they hang much longer than expected. Describe the solution you'd like Set a default timeout to ...
Open Graph Description: Is your feature request related to a problem? Please describe. Since we don't have a timeout by default on our HTTP calls, it's possible that they hang much longer than expected. Describe the solut...
X Description: Is your feature request related to a problem? Please describe. Since we don't have a timeout by default on our HTTP calls, it's possible that they hang much longer than expected. Describe t...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/889
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"default (per API request) timeout of 5 minutes","articleBody":" **Is your feature request related to a problem? Please describe.**\r\n\r\nSince we don't have a timeout by default on our HTTP calls, it's possible that they hang much longer than expected.\r\n\r\n **Describe the solution you'd like**\r\n\r\nSet a default timeout to 5 minutes.\r\n\r\nAs I found in https://github.com/googleapis/python-bigquery/pull/859, many of the backend BigQuery APIs have a deadline of 4 minutes. Giving ourselves 5 minutes per request should be enough time to account for any network latency and download time.\r\n\r\n **Describe alternatives you've considered**\r\n\r\nStatus quo. -- This makes the time that a request can complete less predicable though.\r\n\r\n **Additional context**\r\n\r\nI recall we tried this once before, but reverted it due to too many flakey tests: https://github.com/googleapis/google-cloud-python/pull/10219\r\n\r\nThat was with 60 seconds, whereas the backend deadline is 4 minutes, so perhaps it's not all too surprising that there were flakes?\r\n","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2021-08-20T14:41:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/889/python-bigquery/issues/889"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b5e04a6b-fa99-b6c1-004c-60c66879f4f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8F8:1846F5:BD1FDF:C13BDC:6A4DB8E4 |
| html-safe-nonce | 83b39503771f8bbbbde2aa4c180e533c255c6017a75891de14f2730bf412dba9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEY4OjE4NDZGNTpCRDFGREY6QzEzQkRDOjZBNERCOEU0IiwidmlzaXRvcl9pZCI6IjI5NzcxNjgzNTA5Mzk4MjIzMDgiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | acf9273f3c98ecbcf02c9c1fed64558c97c2edc7005fd2cdf7f9cbb97ac75d90 |
| hovercard-subject-tag | issue:975673705 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-bigquery/889/issue_layout |
| twitter:image | https://opengraph.githubassets.com/21eb6fc08967e1048e58035defe1f4339b12b901462f8b1c4129a878fb6640a6/googleapis/python-bigquery/issues/889 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/21eb6fc08967e1048e58035defe1f4339b12b901462f8b1c4129a878fb6640a6/googleapis/python-bigquery/issues/889 |
| og:image:alt | Is your feature request related to a problem? Please describe. Since we don't have a timeout by default on our HTTP calls, it's possible that they hang much longer than expected. Describe the solut... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tswast |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width