Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
feat: increase the logical timeout (retry deadline) to 5 minutes (#198)
Browse files Browse the repository at this point in the history
* feat: increase the logical timeout (retry deadline) to 5 minutes

PiperOrigin-RevId: 417448084

Source-Link: googleapis/googleapis@489719a

Source-Link: googleapis/googleapis-gen@97a80b4
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTdhODBiNGZhOGE5NzliODZjNWU4M2Q3ZWQ4YmI4ZDJkM2ViNmM0MCJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Dec 21, 2021
1 parent 0c7bad9 commit 13cb5b3
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ async def list_reservations(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -451,9 +451,9 @@ async def get_reservation(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -529,9 +529,9 @@ async def delete_reservation(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -787,9 +787,9 @@ async def list_capacity_commitments(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -887,9 +887,9 @@ async def get_capacity_commitment(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -965,9 +965,9 @@ async def delete_capacity_commitment(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -1492,9 +1492,9 @@ async def list_assignments(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -1590,9 +1590,9 @@ async def delete_assignment(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -1720,9 +1720,9 @@ async def search_assignments(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -2018,9 +2018,9 @@ async def get_bi_reservation(
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.get_reservation: gapic_v1.method.wrap_method(
Expand All @@ -154,9 +154,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.delete_reservation: gapic_v1.method.wrap_method(
Expand All @@ -169,9 +169,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.update_reservation: gapic_v1.method.wrap_method(
Expand All @@ -192,9 +192,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.get_capacity_commitment: gapic_v1.method.wrap_method(
Expand All @@ -207,9 +207,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.delete_capacity_commitment: gapic_v1.method.wrap_method(
Expand All @@ -222,9 +222,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.update_capacity_commitment: gapic_v1.method.wrap_method(
Expand Down Expand Up @@ -255,9 +255,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.delete_assignment: gapic_v1.method.wrap_method(
Expand All @@ -270,9 +270,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.search_assignments: gapic_v1.method.wrap_method(
Expand All @@ -285,9 +285,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.search_all_assignments: gapic_v1.method.wrap_method(
Expand All @@ -308,9 +308,9 @@ def _prep_wrapped_messages(self, client_info):
core_exceptions.DeadlineExceeded,
core_exceptions.ServiceUnavailable,
),
deadline=60.0,
deadline=300.0,
),
default_timeout=60.0,
default_timeout=300.0,
client_info=client_info,
),
self.update_bi_reservation: gapic_v1.method.wrap_method(
Expand Down

0 comments on commit 13cb5b3

Please sign in to comment.