Skip to content

Commit

Permalink
Remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Feb 10, 2024
1 parent c2d8bad commit 230439e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public record ClusterStats(
String clusterId,
int runningQueryCount,
int queuedQueryCount,
int blockedQueryCount,
int numWorkerNodes,
boolean healthy,
String proxyTo,
Expand All @@ -41,7 +40,6 @@ public static final class Builder
private final String clusterId;
private int runningQueryCount;
private int queuedQueryCount;
private int blockedQueryCount;
private int numWorkerNodes;
private boolean healthy;
private String proxyTo;
Expand All @@ -66,12 +64,6 @@ public Builder queuedQueryCount(int queuedQueryCount)
return this;
}

public Builder blockedQueryCount(int blockedQueryCount)
{
this.blockedQueryCount = blockedQueryCount;
return this;
}

public Builder numWorkerNodes(int numWorkerNodes)
{
this.numWorkerNodes = numWorkerNodes;
Expand Down Expand Up @@ -114,7 +106,6 @@ public ClusterStats build()
clusterId,
runningQueryCount,
queuedQueryCount,
blockedQueryCount,
numWorkerNodes,
healthy,
proxyTo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public ClusterStats monitor(ProxyBackendConfiguration backend)
.numWorkerNodes(activeWorkers)
.queuedQueryCount((int) result.get("queuedQueries"))
.runningQueryCount((int) result.get("runningQueries"))
.blockedQueryCount((int) result.get("blockedQueries"))
.healthy(activeWorkers > 0)
.proxyTo(backend.getProxyTo())
.externalUrl(backend.getExternalUrl())
Expand Down

0 comments on commit 230439e

Please sign in to comment.