enable setting the max_attempts config option