CONFIG SET refactoring of bool and value fields.
CONFIG SET refactoring of bool and value fields.

Not perfect since The Solution IMHO is to have a DSL with a table of
configuration functions with type, limits, and aux functions to handle
the odd ones. However this hacky macro solution is already better and
forces to put limits in the range of numerical fields.

More field types to be refactored in the next commits hopefully.

JackieXie168/redis,JackieXie168/redis,JackieXie168/redis,JackieXie168/redis