set max for chat storage