cancel the timeout in any case
This commit is contained in:
parent
8d45901a8a
commit
0cb97e4044
|
@ -144,9 +144,7 @@ public class SearchContext implements Releasable {
|
|||
// ignore this as well
|
||||
}
|
||||
engineSearcher.release();
|
||||
if (!keepAliveTimeout.isCancelled()) {
|
||||
keepAliveTimeout.cancel();
|
||||
}
|
||||
keepAliveTimeout.cancel();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue