How to disable redis in dev mode

how to disable redis in dev mode?

You can use ERPNext and frappe without Redis, but you cant mute the message about that the redis is not working.