Set session max based on ring size.