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

Ohm: not reusing the same connection #3

Open
HoneyryderChuck opened this issue Sep 9, 2015 · 0 comments
Open

Ohm: not reusing the same connection #3

HoneyryderChuck opened this issue Sep 9, 2015 · 0 comments

Comments

@HoneyryderChuck
Copy link

It's strange, but it seems that the strategy is always opening a connection to the default redis location:

https://github.com/DatabaseCleaner/database_cleaner/blob/19773bbd1caa969e0e9be5eb0a8842b66f566f58/lib/database_cleaner/redis/base.rb#L25

It's a bit weird, as I don't see how to set the db parameter (which is not a db, but a url), and then, in the ohm adapter:

https://github.com/DatabaseCleaner/database_cleaner/blob/19773bbd1caa969e0e9be5eb0a8842b66f566f58/lib/database_cleaner/ohm/truncation.rb#L9-L11

which is not used anywhere...

@botandrose botandrose transferred this issue from DatabaseCleaner/database_cleaner Feb 18, 2020
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