Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique jobs sets Sidekiq testing to inline! mode #88

Closed
assimovt opened this issue Jun 18, 2015 · 2 comments
Closed

Unique jobs sets Sidekiq testing to inline! mode #88

assimovt opened this issue Jun 18, 2015 · 2 comments

Comments

@assimovt
Copy link

I am having an issue that as soon as I enable unique jobs for a worker, Sidekiq starts to operate in inline mode, thus requiring Redis connection. I would like to continue using it in fake mode. Is it an expected behavior? Here are the versions I use:

Using sidekiq 3.3.4
Using sidekiq-unique-jobs 3.0.13
@mhenrixon
Copy link
Owner

See the section about sidekiq testing. https://github.com/mperham/sidekiq/wiki/Testing
Long story short just set Sidekiq::Testing.fake! does that help at all?

@mhenrixon
Copy link
Owner

It should only ever set it to whatever you set it to in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants