move redis into afterparty module attribute