Searched refs:initial_backoff (Results 1 – 11 of 11) sorted by relevance
35 const grpc_millis initial_backoff = 200; in TEST() local41 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() local64 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() local79 options.set_initial_backoff(initial_backoff) in TEST()128 const grpc_millis initial_backoff = 500; in TEST() local[all …]
48 Options& set_initial_backoff(grpc_millis initial_backoff) { in set_initial_backoff() argument49 initial_backoff_ = initial_backoff; in set_initial_backoff()65 grpc_millis initial_backoff() const { return initial_backoff_; } in initial_backoff() function
72 current_backoff_ = options_.initial_backoff(); in Reset()
103 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()
43 grpc_millis initial_backoff = 0; member
1411 .set_initial_backoff(retry_policy->initial_backoff) in do_retry()
99 &retry_policy->initial_backoff, in ParseRetryPolicy()101 retry_policy->initial_backoff == 0) { in ParseRetryPolicy()160 if (retry_policy->max_attempts == 0 || retry_policy->initial_backoff == 0 || in ParseRetryPolicy()
86 grpc_millis initial_backoff = 0; member
3233 retry_policy_ == nullptr ? 0 : retry_policy_->initial_backoff) in RetryingCall()