Skip to content

Commit

Permalink
fix: use correct retry deadline in publisher methods (#814)
Browse files Browse the repository at this point in the history
Add Retry timeout to ads and async template

Co-authored-by: Dov Shlachter <dovs@google.com>
  • Loading branch information
plamut and software-dov authored Mar 19, 2021
1 parent 20b8f71 commit 92a2cfc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class {{ service.name }}Transport(metaclass=abc.ABCMeta):
exceptions.{{ ex.__name__ }},
{%- endfor %}
),
deadline={{ method.timeout }},
),
{%- endif %}
default_timeout={{ method.timeout }},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ class {{ service.async_client_name }}:
exceptions.{{ ex.__name__ }},
{%- endfor %}
),
deadline={{ method.timeout }},
),
{%- endif %}
default_timeout={{ method.timeout }},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class {{ service.name }}Transport(abc.ABC):
exceptions.{{ ex.__name__ }},
{%- endfor %}
),
deadline={{ method.timeout }},
),
{%- endif %}
default_timeout={{ method.timeout }},
Expand Down

0 comments on commit 92a2cfc

Please sign in to comment.