actionhero / ah-resque-ui

Visualization and Managment tools for Actionhero Tasks & Resque Jobs
Apache License 2.0
57 stars 10 forks source link

How to customize node-resque connection options #212

Closed dubiousdavid closed 3 years ago

dubiousdavid commented 3 years ago

I need to customize namespace and use Redis sentinel with ioredis. How can I accomplish this?

evantahler commented 3 years ago

Hello! Are you asking about how to do this for this package, node-resque in general, or in actionhero?

You can pass the namespace option to node-resque per https://github.com/actionhero/node-resque#configuration-options. In Actionhero, which this plugin users, it would be set in config.tasks.connectionOptions.namespace

dubiousdavid commented 3 years ago

Thanks. That was what I was looking for. In case anyone else reads this in the future, the correct config path is: config.tasks.connectionOptions.tasks.namespace.