Limit RU threshold only to NoSQL (#1739)
* limit RU threshold only to NoSQL * limit RU threshold only to NoSQL --------- Co-authored-by: Asier Isayas <aisayas@microsoft.com>
This commit is contained in:
parent
6d98b4a500
commit
35ca7944ae
|
@ -304,7 +304,7 @@ export default class QueryTabComponent extends React.Component<IQueryTabComponen
|
||||||
});
|
});
|
||||||
|
|
||||||
let queryOperationOptions: QueryOperationOptions;
|
let queryOperationOptions: QueryOperationOptions;
|
||||||
if (!this.isPreferredApiMongoDB && ruThresholdEnabled()) {
|
if (userContext.apiType === "SQL" && ruThresholdEnabled()) {
|
||||||
const ruThreshold: number = getRUThreshold();
|
const ruThreshold: number = getRUThreshold();
|
||||||
queryOperationOptions = {
|
queryOperationOptions = {
|
||||||
ruCapPerOperation: ruThreshold,
|
ruCapPerOperation: ruThreshold,
|
||||||
|
|
Loading…
Reference in New Issue