summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-01-07 18:31:03 +0100
committerGitHub <noreply@github.com>2017-01-07 18:31:03 +0100
commit61c888a74b791726426e94e2977e611b2de818ad (patch)
tree03d7c7ca5e023f3e47b481ed315448f9ab60345a /vespaclient-container-plugin
parentbd95ac0ba807c7d05af9bb824f8ac6eb11779115 (diff)
Revert "Revert "Balder/avoid costly notifyall in sharedsender""
Diffstat (limited to 'vespaclient-container-plugin')
-rwxr-xr-xvespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
index 42ca9d45599..5723483603b 100755
--- a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
+++ b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
@@ -97,7 +97,7 @@ public class GetSearcher extends Searcher {
return sw.toString();
}
- public boolean handleReply(Reply reply, int numPending) {
+ public boolean handleReply(Reply reply) {
if ((reply.getTrace().getLevel() > 0) && log.isLoggable(LogLevel.DEBUG)) {
String str = reply.getTrace().toString();
log.log(LogLevel.DEBUG, str);
@@ -119,7 +119,7 @@ public class GetSearcher extends Searcher {
}
}
- return (numPending > 0);
+ return true;
}
private void addDocumentHit(Reply reply) {