hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

Add ability to pass the Redis client to the Redis store #52

Closed LoicMahieu closed 10 years ago

LoicMahieu commented 10 years ago

In our code organisation, all redis client creation is delegated to a special service that bind events for debugging and other stuffs... So we would like to pass an instance of redis client directly to Catbox.

LoicMahieu commented 10 years ago

I wasn't able to run the tests on my local machine. So I didn't wrote tests... Arf...

LoicMahieu commented 10 years ago

Ok. Just like that?

hueniverse commented 10 years ago

Hmm. I clearly remember putting in notes...

This is not the right way to get what you want. It will also not be workable this way in upcoming 2.0. What you should do is, in 2.0, create the client object yourself and manipulate it to use your client object instead of calling start().

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.