Skip to content

Commit cbf24bd

Browse files
committed
Upgrade to Elasticsearch Client 8.4.3
Closes gh-32671
1 parent 2c5be35 commit cbf24bd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/data/elasticsearch/ElasticsearchReactiveHealthIndicator.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ private Health processResponse(Health.Builder builder, HealthResponse response)
6666
builder.withDetail("delayed_unassigned_shards", response.delayedUnassignedShards());
6767
builder.withDetail("number_of_pending_tasks", response.numberOfPendingTasks());
6868
builder.withDetail("number_of_in_flight_fetch", response.numberOfInFlightFetch());
69-
builder.withDetail("task_max_waiting_in_queue_millis",
70-
response.taskMaxWaitingInQueueMillis().toEpochMilli());
69+
builder.withDetail("task_max_waiting_in_queue_millis", response.taskMaxWaitingInQueueMillis());
7170
builder.withDetail("active_shards_percent_as_number",
7271
Double.parseDouble(response.activeShardsPercentAsNumber()));
7372
return builder.build();

spring-boot-project/spring-boot-dependencies/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ bom {
211211
]
212212
}
213213
}
214-
library("Elasticsearch Client", "8.3.3") {
214+
library("Elasticsearch Client", "8.4.3") {
215215
group("org.elasticsearch.client") {
216216
modules = [
217217
"elasticsearch-rest-client" {

0 commit comments

Comments
 (0)