mirror of https://github.com/grpc/grpc-java.git
core: using correct key for hedging max attempts
This commit is contained in:
parent
5f60f22b6a
commit
05b6156d43
|
|
@ -184,7 +184,7 @@ public final class ServiceConfigUtil {
|
||||||
if (!hedgingPolicy.containsKey(HEDGING_POLICY_MAX_ATTEMPTS_KEY)) {
|
if (!hedgingPolicy.containsKey(HEDGING_POLICY_MAX_ATTEMPTS_KEY)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return getDouble(hedgingPolicy, RETRY_POLICY_MAX_ATTEMPTS_KEY).intValue();
|
return getDouble(hedgingPolicy, HEDGING_POLICY_MAX_ATTEMPTS_KEY).intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue