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

Print warning when used in development mode #33

Closed
mperham opened this issue Dec 24, 2013 · 2 comments
Closed

Print warning when used in development mode #33

mperham opened this issue Dec 24, 2013 · 2 comments
Assignees
Milestone

Comments

@mperham
Copy link

mperham commented Dec 24, 2013

I've had a number of issues where Sidekiq has stopped processing jobs in development mode. These all boiled down to people including rspec-sidekiq in the development group in their Gemfile. Could you please print a warning on bootup in the development environment since it is probably not what people want?

Bonus points: allow the user to disable the warning if they know they actually want to do this for some odd reason.

@ghost ghost assigned philostler Dec 26, 2013
@philostler
Copy link
Collaborator

I've seen the odd case of this happening (obviously the warning in the README isn't enough). I'll print out a warning when jobs are going to be push to the testing array and not real Redis whatever the environment and I like the idea of the config option, I'll add that in as well.

I'd sorry if this has caused you problems with issues being raised. I'll push this out in 1.0.0 very soon

@philostler
Copy link
Collaborator

P.s. I've also seen some people getting confused thinking that it's rspec-sidekiq providing the testing array support. That's certainly not my intention and I'll make it clearer in the README that it's sidekiq providing this feature and not rspec-sidekiq.

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

No branches or pull requests

2 participants