quirkey/resque-status

Does resque-status work with namespace in connection?

astudnev opened this issue · 0 comments

I had a prolem running a redis connection with namespace, as described in resque:

Set the redis connection. Takes any of:

String - a redis url string (e.g., 'redis://host:port')

String - 'hostname:port[:db][/namespace]'

Redis - a redis connection that will be namespaced :resque

Redis::Namespace - a namespaced redis connection that will be used as-is

Redis::Distributed - a distributed redis connection that will be used as-is

Hash - a redis connection hash (e.g. {:host => 'localhost', :port => 6379, :db => 0})

config.redis = 'localhost:6379:alpha/high'

If i specify a namespace in connectioin, 2 wrong things happen:

  1. _statuses do not appear in redis keys

  2. Web interface did not show statuses

Howeverm jobs were executed and statuses recorde

What was wrong there?

I had to switch to database index selector - it works fine