idealley / feathers-hooks-rediscache

Set of caching hooks and routes for feathersjs.
MIT License
38 stars 12 forks source link

Passing client options #57

Closed kokujin closed 6 years ago

kokujin commented 6 years ago

These hooks use the the module node_redis

Is it possible to configure the client by passing options as in the underlying module?

redis.createClient([options])

Thanks

idealley commented 6 years ago

I am off on vacation. But as a short answer yes, you can put a redis object in the feathers conf.

On Thu, Nov 8, 2018, 15:55 kokujin notifications@github.com wrote:

These hooks use the the module node_redis https://github.com/NodeRedis/node_redis

Is it possible to configure the client by passing options as in the underlying module?

redis.createClient([options])

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/idealley/feathers-hooks-rediscache/issues/57, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-Dqv7rpdoj3f7cVtHAd9WCQrP0GWYks5utEXGgaJpZM4YU1Na .

kokujin commented 6 years ago

@idealley, thanks for the reply. I could get these attributes to work "redis":{ "no_ready_check": true, "max_attempts": 2 }