mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-10-10 20:16:34 +01:00
Limit RU threshold only to NoSQL (#1739)
* limit RU threshold only to NoSQL * limit RU threshold only to NoSQL --------- Co-authored-by: Asier Isayas <[email protected]>
This commit is contained in:
co-authored by
Asier Isayas
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user