Just these two options or all the logic ? Maybe we can store the "redirectedUrls" in the queue, and add helpers to check if an URL has reached the maxSameRedirects or not from the crawler.