This repository was archived by the owner on Sep 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
google/cloud/secretmanager_v1/services/secret_manager_service Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -919,11 +919,12 @@ async def access_secret_version(
919919 rpc = gapic_v1 .method_async .wrap_method (
920920 self ._client ._transport .access_secret_version ,
921921 default_retry = retries .Retry (
922- initial = 1 .0 ,
922+ initial = 2 .0 ,
923923 maximum = 60.0 ,
924- multiplier = 1.3 ,
924+ multiplier = 2.0 ,
925925 predicate = retries .if_exception_type (
926- core_exceptions .ServiceUnavailable , core_exceptions .Unknown ,
926+ core_exceptions .ResourceExhausted ,
927+ core_exceptions .ServiceUnavailable ,
927928 ),
928929 deadline = 60.0 ,
929930 ),
Original file line number Diff line number Diff line change @@ -187,11 +187,12 @@ def _prep_wrapped_messages(self, client_info):
187187 self .access_secret_version : gapic_v1 .method .wrap_method (
188188 self .access_secret_version ,
189189 default_retry = retries .Retry (
190- initial = 1 .0 ,
190+ initial = 2 .0 ,
191191 maximum = 60.0 ,
192- multiplier = 1.3 ,
192+ multiplier = 2.0 ,
193193 predicate = retries .if_exception_type (
194- core_exceptions .ServiceUnavailable , core_exceptions .Unknown ,
194+ core_exceptions .ResourceExhausted ,
195+ core_exceptions .ServiceUnavailable ,
195196 ),
196197 deadline = 60.0 ,
197198 ),
You can’t perform that action at this time.
0 commit comments