Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30770fd

Browse files
authored
fix: increase default retry deadline to 10 minutes (#859)
The backend API has a timeout of 4 minutes, so the default of 2 minutes was notallowing for any retries to happen in some cases.Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea- [ ] Ensure the tests and linter pass- [ ] Code coverage does not decrease (if any source code was changed)- [ ] Appropriate docs were updated (if necessary)Fixes#853 🦕
1 parentcf0b0d8 commit30770fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎google/cloud/bigquery/retry.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _should_retry(exc):
4747
returnreasonin_RETRYABLE_REASONS
4848

4949

50-
DEFAULT_RETRY=retry.Retry(predicate=_should_retry)
50+
DEFAULT_RETRY=retry.Retry(predicate=_should_retry,deadline=600.0)
5151
"""The default retry object.
5252
5353
Any method with a ``retry`` parameter will be retried automatically,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp