You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a very simple site with Astro that fetches 6 small queries in parallel. Locally these queries take about 30-90ms per query, but when I deployed this to Netlify functions I was hitting the timeout of 10s. I was not able to find out the cause and I was not getting any errors. When I swapped out sanity:client for picosanity the issue was resolved and the queries took about 200-300ms per query. I don't have any more specific information and I don't know how reproducible this issue is, but it seems important to flag.
I have made a very simple site with Astro that fetches 6 small queries in parallel. Locally these queries take about 30-90ms per query, but when I deployed this to Netlify functions I was hitting the timeout of 10s. I was not able to find out the cause and I was not getting any errors. When I swapped out
sanity:client
forpicosanity
the issue was resolved and the queries took about 200-300ms per query. I don't have any more specific information and I don't know how reproducible this issue is, but it seems important to flag.Here is the file that executes the queries: https://gist.github.com/waspeer/1b791514648cf18183cec82d51d271a9
Which versions of Sanity are you using?
@sanity/cli (global) 3.39.1 (up to date)
@sanity/astro 3.0.0 (up to date)
@sanity/code-input 4.1.4 (up to date)
@sanity/image-url 1.0.2 (up to date)
sanity 3.39.1 (up to date)
What operating system are you using?
MacOS 14.4.1
Which versions of Node.js / npm are you running?
PNPM 8.15.6
Node v20.11.1
The text was updated successfully, but these errors were encountered: