Home
last modified time | relevance | path

Searched refs:max_backoff (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/test/core/backoff/
Dbackoff_test.cc38 const grpc_millis max_backoff = 1000; in TEST() local
44 .set_max_backoff(max_backoff); in TEST()
61 const grpc_millis max_backoff = 1000; in TEST() local
67 .set_max_backoff(max_backoff); in TEST()
77 const grpc_millis max_backoff = 513; in TEST() local
82 .set_max_backoff(max_backoff); in TEST()
130 const grpc_millis max_backoff = 1000; in TEST() local
137 .set_max_backoff(max_backoff); in TEST()
161 max_backoff); in TEST()
/external/grpc-grpc/src/core/lib/backoff/
Dbackoff.h60 Options& set_max_backoff(grpc_millis max_backoff) { in set_max_backoff() argument
61 max_backoff_ = max_backoff; in set_max_backoff()
71 grpc_millis max_backoff() const { return max_backoff_; } in max_backoff() function
Dbackoff.cc62 static_cast<double>(options_.max_backoff()))); in NextAttemptTime()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dmethod_params.cc109 if (retry_policy->max_backoff > 0) return nullptr; // Duplicate. in ParseRetryPolicy()
110 if (!ParseDuration(sub_field, &retry_policy->max_backoff)) { in ParseRetryPolicy()
113 if (retry_policy->max_backoff == 0) return nullptr; in ParseRetryPolicy()
141 retry_policy->max_backoff == 0 || retry_policy->backoff_multiplier == 0 || in ParseRetryPolicy()
Dmethod_params.h44 grpc_millis max_backoff = 0; member
Dclient_channel.cc1414 .set_max_backoff(retry_policy->max_backoff)); in do_retry()
/external/grpc-grpc/test/cpp/interop/
Dreconnect_interop_server.cc133 double max_backoff = expected_backoff * (1 + kJitterFactor); in Verify() local
135 backoff > max_backoff + kTransmissionDelay) { in Verify()