Fix regression with USE_REDIS (refactor_main)