Replies: 2 comments 10 replies
-
Hello! I ran your code snippet and measured the execution time. The first run took ~25s, all subsequent runs took around 5s. I believe that's fine for a sitemap with 400K URLs in it. How long did your experiment take? What kind of network connection are you using? |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm actually having a problem with the sitemap loading "forever", due to a really big sitemap. I don't think there should be a limit for urls returned, but it would be really helpful if there was a way to either cancel the promise using an AbortController or define a timeout, after which the promise should reject. |
Beta Was this translation helpful? Give feedback.
-
Which package is this bug report for? If unsure which one to select, leave blank
None
Issue description
https://dev.to/sitemap-index.xml has lot of links, hence takes forever to load. Maybe we can add a timeout/url limit parameter.
Code sample
Package version
3.8.1
Node.js version
20.11.1
Operating system
Ubuntu
Apify platform
I have tested this on the
next
releaseNo response
Other context
No response
Beta Was this translation helpful? Give feedback.
All reactions