Sha256: 9a2529bf6ba4731d62bfc9c4f006270db2d839c3b4917727a95653e478c879d9
Contents?: true
Size: 1.17 KB
Versions: 36
Compression:
Stored size: 1.17 KB
Contents
<%- assert_locals service -%> <%- method_service ||= service -%> <%- if service.grpc_service_config && !service.grpc_service_config.empty? -%> <%- if service.grpc_service_config.timeout_seconds -%> default_config.timeout = <%= format_number service.grpc_service_config.timeout_seconds %> <%- end -%> <%- if service.grpc_service_config.retry_policy -%> default_config.retry_policy = <%= indent_tail render(partial: "service/client/self_configure_retry_policy", locals: { retry_policy: service.grpc_service_config.retry_policy }), 2 %> <%- end -%> <%- end -%> <%- method_service.methods.each do |method| -%> <%- if method.grpc_service_config && !method.grpc_service_config.empty? -%> <%- if method.grpc_service_config.timeout_seconds -%> default_config.rpcs.<%= method.name %>.timeout = <%= format_number method.grpc_service_config.timeout_seconds %> <%- end -%> <%- if method.grpc_service_config.retry_policy -%> default_config.rpcs.<%= method.name %>.retry_policy =<%= indent_tail render(partial: "service/client/self_configure_retry_policy", locals: { retry_policy: method.grpc_service_config.retry_policy }), 2 %> <%- end -%> <%- end -%> <%- end -%>
Version data entries
36 entries across 36 versions & 1 rubygems