mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 14:54:56 +00:00
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…
x
Reference in New Issue
Block a user