Added redis support to store last 50 messages