Skip to content

Commit

Permalink
Update connections.py with retry logic for 502 (#563)
Browse files Browse the repository at this point in the history
* Update connections.py with retry logic for 502

* Create Fixes-20230227-110426.yaml

---------

Co-authored-by: Florian Eiden <[email protected]>
Co-authored-by: Matthew McKnight <[email protected]>
  • Loading branch information
3 people authored Mar 9, 2023
1 parent f2f0e42 commit 850296f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230227-110426.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Update connections.py with retry logic for 502 BadGateway
time: 2023-02-27T11:04:26.978726+11:00
custom:
Author: patkearns10
Issue: "562"
1 change: 1 addition & 0 deletions dbt/adapters/bigquery/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
RETRYABLE_ERRORS = (
google.cloud.exceptions.ServerError,
google.cloud.exceptions.BadRequest,
google.cloud.exceptions.BadGateway,
ConnectionResetError,
ConnectionError,
)
Expand Down

0 comments on commit 850296f

Please sign in to comment.