mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-24 22:46:40 +00: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 <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;
|
||||
if (!this.isPreferredApiMongoDB && ruThresholdEnabled()) {
|
||||
if (userContext.apiType === "SQL" && ruThresholdEnabled()) {
|
||||
const ruThreshold: number = getRUThreshold();
|
||||
queryOperationOptions = {
|
||||
ruCapPerOperation: ruThreshold,
|
||||
|
Loading…
Reference in New Issue
Block a user