Home
last modified time | relevance | path

Searched refs:max_milli_tokens (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc41 intptr_t max_milli_tokens, intptr_t milli_token_ratio, in ServerRetryThrottleData() argument
43 : max_milli_tokens_(max_milli_tokens), in ServerRetryThrottleData()
45 intptr_t initial_milli_tokens = max_milli_tokens; in ServerRetryThrottleData()
56 static_cast<intptr_t>(token_fraction * max_milli_tokens); in ServerRetryThrottleData()
167 const char* server_name, intptr_t max_milli_tokens, in GetDataForServer() argument
175 throttle_data->max_milli_tokens() != max_milli_tokens || in GetDataForServer()
179 max_milli_tokens, milli_token_ratio, throttle_data); in GetDataForServer()
Dretry_throttle.h32 ServerRetryThrottleData(intptr_t max_milli_tokens, intptr_t milli_token_ratio,
41 intptr_t max_milli_tokens() const { return max_milli_tokens_; } in max_milli_tokens() function
74 const char* server_name, intptr_t max_milli_tokens,
Dclient_channel.cc237 int max_milli_tokens = 0; in parse_retry_throttle_params() local
243 if (max_milli_tokens != 0) return; // Duplicate. in parse_retry_throttle_params()
245 max_milli_tokens = gpr_parse_nonnegative_int(sub_field->value); in parse_retry_throttle_params()
246 if (max_milli_tokens == -1) return; in parse_retry_throttle_params()
247 max_milli_tokens *= 1000; in parse_retry_throttle_params()
283 parsing_state->server_name, max_milli_tokens, milli_token_ratio); in parse_retry_throttle_params()