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

Multiple connections to different clusters not working #36

Open
lenovouser opened this issue Sep 17, 2019 · 3 comments
Open

Multiple connections to different clusters not working #36

lenovouser opened this issue Sep 17, 2019 · 3 comments
Milestone

Comments

@lenovouser
Copy link

I haven't found the root cause yet, but to me it seems like you can't create two different connections to different RethinkDB servers. If you try to the first connects, but the second one just hangs.

@lenovouser
Copy link
Author

I debugged a bit further, this is only the case when using two different clusters, not when using .connect() only. I am trying to connect to a staging and production cluster to work with data from both environments.

@lenovouser lenovouser changed the title Multiple connections to different not working Multiple connections to different clusters not working Sep 17, 2019
@atassis
Copy link
Collaborator

atassis commented Jul 28, 2020

@lenovouser hello. I'll try to investigate if we can split out the different logic to its own modules inside the package. Right now the r is a big polluted singleton which does all the magic. It'll take time, but still better than nothing=)

@atassis
Copy link
Collaborator

atassis commented Feb 9, 2021

@lenovouser @skynightz I have made some work in the direction of this issue. If you are interested to help me test this out- get in touch

@atassis atassis added this to the Version 3.0 milestone May 11, 2021
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

2 participants