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:
Asier Isayas 2024-02-07 11:31:13 -05:00 committed by GitHub
parent 6d98b4a500
commit 35ca7944ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,