mperham/sidekiq — Issue #62: Can't seem to set Namespace properly
Author: xentek
Created: 2012-02-28 19:24:08+00:00
State: open

I'm trying to setup sidekiq w/ resque integration. I have tried setting the namespace via the `-n` cli option (now deprecated), a yml config file (passed in with `-C`) and a `Sidekiq.configure_client` block in my bootstrap file.

When starting a sidekiq process, it registers itself in the `"workers"` key in redis. When I start jobs, they are in the correct namespace, but can't get worked on, since the processor doesn't look for it in the right place.

I'm currently running the latest code from master. This is a standalone resque installation, no rails or sinatra. However, that shouldn't matter that much, since I have a "boostrap" file that modified the $LOAD_PATH and loads up all our libraries, gems, Mongoid models and Worker files. This boostrap file is passed to sidekiq via the `-r` option. The sidekiq processor starts up fine, but doesn't seem to respect the namespace.