fix thread pool stats largest

This commit is contained in:
Shay Banon 2012-12-30 01:57:18 -08:00
parent b6f766af3f
commit 7f0034d42f
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public class ThreadPoolStats implements Streamable, ToXContent, Iterable<ThreadP
builder.field(Fields.REJECTED, rejected);
}
if (largest != -1) {
builder.field(Fields.LARGEST, rejected);
builder.field(Fields.LARGEST, largest);
}
if (completed != -1) {
builder.field(Fields.COMPLETED, completed);