Home
last modified time | relevance | path

Searched refs:retry_policy (Results 1 – 12 of 12) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/
Dresolver_result_parsing.cc69 auto retry_policy = in ParseRetryPolicy() local
84 retry_policy->max_attempts = in ParseRetryPolicy()
86 if (retry_policy->max_attempts <= 1) { in ParseRetryPolicy()
89 } else if (retry_policy->max_attempts > MAX_MAX_RETRY_ATTEMPTS) { in ParseRetryPolicy()
93 retry_policy->max_attempts = MAX_MAX_RETRY_ATTEMPTS; in ParseRetryPolicy()
99 &retry_policy->initial_backoff, in ParseRetryPolicy()
101 retry_policy->initial_backoff == 0) { in ParseRetryPolicy()
107 &retry_policy->max_backoff, &error_list) && in ParseRetryPolicy()
108 retry_policy->max_backoff == 0) { in ParseRetryPolicy()
120 &retry_policy->backoff_multiplier) != 1) { in ParseRetryPolicy()
[all …]
Dresolver_result_parsing.h94 std::unique_ptr<RetryPolicy> retry_policy) in ClientChannelMethodParsedConfig() argument
97 retry_policy_(std::move(retry_policy)) {} in ClientChannelMethodParsedConfig()
103 const RetryPolicy* retry_policy() const { return retry_policy_.get(); } in retry_policy() function
Dclient_channel.cc546 const ClientChannelMethodParsedConfig::RetryPolicy* retry_policy);
1182 method_config == nullptr ? nullptr : method_config->retry_policy()); in SetPollent()
3231 const ClientChannelMethodParsedConfig::RetryPolicy* retry_policy) in RetryingCall() argument
3235 retry_policy_(retry_policy), in RetryingCall()
/third_party/libwebsockets/lib/core-net/
Dadopt.c85 new_wsi->retry_policy = vhost->retry_policy; in lws_create_new_server_wsi()
796 const lws_retry_bo_t *retry_policy, const char *fi_wsi_name) in lws_create_adopt_udp() argument
825 if (retry_policy) in lws_create_adopt_udp()
826 wsi->retry_policy = retry_policy; in lws_create_adopt_udp()
828 wsi->retry_policy = vhost->retry_policy; in lws_create_adopt_udp()
Dwsi-timeout.c203 const lws_retry_bo_t *rbo = wsi->retry_policy; in lws_validity_cb()
252 const lws_retry_bo_t *rbo = wsi->retry_policy; in _lws_validity_confirmed_role()
Dprivate-lib-core-net.h460 const lws_retry_bo_t *retry_policy; member
705 const lws_retry_bo_t *retry_policy; member
Dvhost.c677 vh->retry_policy = info->retry_and_idle_policy; in lws_create_vhost()
679 vh->retry_policy = &context->default_retry; in lws_create_vhost()
Dnetwork.c471 wsi->retry_policy, ctry, in lws_retry_sul_schedule_retry_wsi()
/third_party/grpc/test/core/client_channel/
Dservice_config_test.cc758 ASSERT_NE(parsed_config->retry_policy(), nullptr); in TEST_F()
759 EXPECT_EQ(parsed_config->retry_policy()->max_attempts, 3); in TEST_F()
760 EXPECT_EQ(parsed_config->retry_policy()->initial_backoff, 1000); in TEST_F()
761 EXPECT_EQ(parsed_config->retry_policy()->max_backoff, 120000); in TEST_F()
762 EXPECT_EQ(parsed_config->retry_policy()->backoff_multiplier, 1.6f); in TEST_F()
763 EXPECT_TRUE(parsed_config->retry_policy()->retryable_status_codes.Contains( in TEST_F()
/third_party/libwebsockets/include/libwebsockets/
Dlws-adopt.h266 const lws_retry_bo_t *retry_policy, const char *fi_wsi_name);
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c243 wsi->retry_policy = i->retry_and_idle_policy; in lws_client_connect_via_info()
245 wsi->retry_policy = &i->context->default_retry; in lws_client_connect_via_info()
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c30 static const lws_retry_bo_t retry_policy = { variable
374 NULL, NULL, &retry_policy, "asyncdns"); in lws_async_dns_init()