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

Ensure same database is used throughout a given request #46

Open
jsocol opened this issue Jan 8, 2019 · 0 comments
Open

Ensure same database is used throughout a given request #46

jsocol opened this issue Jan 8, 2019 · 0 comments
Milestone

Comments

@jsocol
Copy link
Collaborator

jsocol commented Jan 8, 2019

c.f. #29

Rather than only pinning the primary on "write" requests, it's probably a good idea for the Pinning router to pin whichever database it uses on every request. I think this will, frex, fix #20, and ensure the process isn't connecting to multiple databases during a single request which should improve performance to some extent or other.

@jsocol jsocol added this to the 1.0 milestone Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant