Never use ThreadPool#estimatedTimeInMillis as wall-clock time replacement
This commit is contained in:
parent
133be6631d
commit
968fbaceef
|
@ -476,7 +476,7 @@ public class IndexService extends AbstractIndexComponent implements IndicesClust
|
|||
* used for rewriting since it does not know about the current {@link IndexReader}.
|
||||
*/
|
||||
public QueryShardContext newQueryShardContext() {
|
||||
return newQueryShardContext(0, null, threadPool::estimatedTimeInMillis);
|
||||
return newQueryShardContext(0, null, System::currentTimeMillis);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue