-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large sitemaps time out on Vercel free tier #79
Comments
As an initial fix, bumping the concurrency from |
Thanks @dbredvick; WIP solution tracking here #83 |
I ultimately decided to start paying Vercel $20 a month to switch timeouts to 60 seconds. Well worth it for me as I host all my projects on Vercel. |
@Mvbbb can you comment on this issue with a link to your @dbredvick nice — that's definitely one solution 😄 #83 should provide a very solid speedup, but I don't have the time at the moment to push it over the finish line. |
@transitive-bullshit I might be able to take a look at #83 over the weekend. |
I believe this should be fixed with the recent addition of optional redis caching for pathname to notion page ID lookups. |
Unfortunately sitemap.xml generation outputs a 504 error. I've been reading the @keyvhq/redis documentation and googling solutions and similar errors, but unfortunately haven't been able to find any solutions in the last 5 days. Perhaps the problem is related to the fact that many pages have manually (via table in notion) changed Slug. Error page: https://www.boklanov.ru/sitemap.xml |
* refactor: adding mermaid hook * refactor: adding some type, refactoring get post * chore: update config * refactor: refactoring detail page
Summary: Because my Notion document is growing somewhat large, the sitemap request times out under Vercel's free tier (10 seconds).
Notion page: https://www.notion.so/dbredvick/Drew-tech-1e0b275c5ca44b4bbf5dc0e24017f593
I'll be looking into fixing this on my blog, will contribute upstream when I have a reasonable fix.
The text was updated successfully, but these errors were encountered: