rethinkdb-ts icon indicating copy to clipboard operation
rethinkdb-ts copied to clipboard

Multiple connections to different clusters not working

Open lenovouser opened this issue 6 years ago • 3 comments

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 avatar Sep 17 '19 19:09 lenovouser

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 avatar Sep 17 '19 19:09 lenovouser

@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 avatar Jul 28 '20 21:07 atassis

@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 avatar Feb 09 '21 21:02 atassis