added redis purge and reset queue tip