mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '4.1.x'
Closes gh-51362
This commit is contained in:
+4
-2
@@ -189,7 +189,7 @@ public record ServiceConfig(@Nullable List<LoadBalancingConfig> loadbalancing, @
|
||||
*/
|
||||
public record WeightedRoundRobinLoadBalancingConfig(Duration blackoutPeriod, Duration weightExpirationPeriod,
|
||||
Duration outOfBandReportingPeriod, Boolean enableOutOfBandLoadReport, Duration weightUpdatePeriod,
|
||||
Float errorUtilizationPenalty) {
|
||||
Double errorUtilizationPenalty) {
|
||||
|
||||
Map<String, Object> grpcJavaConfig() {
|
||||
// Aligned with WeightedRoundRobinLoadBalancerProvider
|
||||
@@ -208,7 +208,9 @@ public record ServiceConfig(@Nullable List<LoadBalancingConfig> loadbalancing, @
|
||||
map.from(this::weightUpdatePeriod)
|
||||
.as(ServiceConfig::durationString)
|
||||
.to(grpcJavaConfig.in("weightUpdatePeriod"));
|
||||
map.from(this::errorUtilizationPenalty).to(grpcJavaConfig.in("errorUtilizationPenalty"));
|
||||
map.from(this::errorUtilizationPenalty)
|
||||
.as(Object::toString)
|
||||
.to(grpcJavaConfig.in("errorUtilizationPenalty"));
|
||||
return grpcJavaConfig.asMap();
|
||||
}
|
||||
|
||||
|
||||
@@ -558,10 +558,16 @@ bom {
|
||||
site("https://groovy-lang.org")
|
||||
}
|
||||
}
|
||||
library("Grpc Java", "1.81.1") {
|
||||
library("Grpc Java", "1.83.1") {
|
||||
group("io.grpc") {
|
||||
bom("grpc-bom")
|
||||
}
|
||||
alignWith {
|
||||
version {
|
||||
of "io.grpc:grpc-core"
|
||||
from "org.springframework.grpc:spring-grpc-core"
|
||||
}
|
||||
}
|
||||
links {
|
||||
github("https://github.com/grpc/grpc-java")
|
||||
docs("https://grpc.io/docs/languages/java/")
|
||||
|
||||
Reference in New Issue
Block a user