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
Default values #66
Comments
I've added this in an initializer unless $rollout.features.include?(:my_feature)
$rollout.activate(:my_feature)
end but it's a very bad idea. Since version 3.0, the Redis client is not really opening the connection to the server until it's really needed. When checking for already set features, the connection is opened very early in the boot process. If you use a forking web server (like Passenger or Unicorn) it is done before forking the workers who then inherit connection with shared resources. It's possible to manually |
@reneklacan Hi, do you have some information about this ? |
@jlecour Sorry for closing without any comment. From your description it sounds like the best solution would be having What do you think? |
Hi,
I've read the source code and tried a few feature toggles in one of my applications.
If I understand correctly, a feature is disabled by default. Am I right ?
If so, is there a good way to have it enabled by default ?
Thanks
The text was updated successfully, but these errors were encountered: