0

If I omit a configuration option in redis.conf, what value will be used upon running redis?

The self-documented redis.conf states that just rarely.

I have found (but didn't try yet) this command: http://redis.io/commands/config-rewrite which can be possibly used to generate the config file, when running redis without one.

  • According to the description on the page you've linked, that command won't help you to find out the defaults: If an option was not already present, but it is set to its default value, it is not added by the rewrite process. – so you will probably still not know the default after invoking that command. – Andriy M Aug 27 '15 at 8:55
  • @AndriyM yes, you're right, just tested it and only two options are present in the generated config file: dir and maxclients – SkyRaT Aug 27 '15 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.