support dynamic settings change

subscribe redis publish message and change the global settings.