Home
last modified time | relevance | path

Searched refs:initial_backoff (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/core/backoff/
Dbackoff_test.cc35 const grpc_millis initial_backoff = 200; in TEST() local
41 options.set_initial_backoff(initial_backoff) in TEST()
49 initial_backoff); in TEST()
53 initial_backoff); in TEST()
58 const grpc_millis initial_backoff = 100; in TEST() local
64 options.set_initial_backoff(initial_backoff) in TEST()
70 EXPECT_EQ(next - grpc_core::ExecCtx::Get()->Now(), initial_backoff); in TEST()
74 const grpc_millis initial_backoff = 2; in TEST() local
79 options.set_initial_backoff(initial_backoff) in TEST()
128 const grpc_millis initial_backoff = 500; in TEST() local
[all …]
/external/grpc-grpc/src/core/lib/backoff/
Dbackoff.h48 Options& set_initial_backoff(grpc_millis initial_backoff) { in set_initial_backoff() argument
49 initial_backoff_ = initial_backoff; in set_initial_backoff()
65 grpc_millis initial_backoff() const { return initial_backoff_; } in initial_backoff() function
Dbackoff.cc72 current_backoff_ = options_.initial_backoff(); in Reset()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dmethod_params.cc103 if (retry_policy->initial_backoff > 0) return nullptr; // Duplicate. in ParseRetryPolicy()
104 if (!ParseDuration(sub_field, &retry_policy->initial_backoff)) { in ParseRetryPolicy()
107 if (retry_policy->initial_backoff == 0) return nullptr; in ParseRetryPolicy()
140 if (retry_policy->max_attempts == 0 || retry_policy->initial_backoff == 0 || in ParseRetryPolicy()
Dmethod_params.h43 grpc_millis initial_backoff = 0; member
Dclient_channel.cc1411 .set_initial_backoff(retry_policy->initial_backoff) in do_retry()