Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read pref optimizations #3143

Merged
merged 4 commits into from
Apr 4, 2023
Merged

Read pref optimizations #3143

merged 4 commits into from
Apr 4, 2023

Conversation

scopsy
Copy link
Contributor

@scopsy scopsy commented Apr 4, 2023

Add more read preferences for the mongo driver for some high thruput queries

@@ -153,7 +153,6 @@ export class AuthService {
organizationId: subscriber._organizationId,
environmentId: subscriber._environmentId,
subscriberId: subscriber.subscriberId,
organizationAdminId: userId,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one was not used, and we can remove un needed db query

Copy link
Contributor

@ainouzgali ainouzgali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@scopsy scopsy added this pull request to the merge queue Apr 4, 2023
Merged via the queue into next with commit aa9a4ef Apr 4, 2023
24 checks passed
@scopsy scopsy deleted the read-pref-optimizations branch April 4, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants