Skip to content

Commit

Permalink
HGI-6352: Add backoff for ServiceUnavailable exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Aug 14, 2024
1 parent fbb8d4b commit 59572b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target_bigquery/processhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def primary_key_condition(self, stream):
@backoff.on_exception(
backoff.expo,
google_exceptions.BadRequest,
google_exceptions.ServiceUnavailable,
max_tries=3
)
def _do_temp_table_based_load(self, rows):
Expand Down

0 comments on commit 59572b9

Please sign in to comment.