fix thread pool stats largest
This commit is contained in:
parent
b6f766af3f
commit
7f0034d42f
|
@ -153,7 +153,7 @@ public class ThreadPoolStats implements Streamable, ToXContent, Iterable<ThreadP
|
||||||
builder.field(Fields.REJECTED, rejected);
|
builder.field(Fields.REJECTED, rejected);
|
||||||
}
|
}
|
||||||
if (largest != -1) {
|
if (largest != -1) {
|
||||||
builder.field(Fields.LARGEST, rejected);
|
builder.field(Fields.LARGEST, largest);
|
||||||
}
|
}
|
||||||
if (completed != -1) {
|
if (completed != -1) {
|
||||||
builder.field(Fields.COMPLETED, completed);
|
builder.field(Fields.COMPLETED, completed);
|
||||||
|
|
Loading…
Reference in New Issue