Slow requests in server action after deploying on Vercel

In a server action I call

const response = await axios.get(url);

Multiple of these are batched together and then awaited like

await Promise.all(fetchPromises);

It works well in my local environment. But after deploying it, these batched requests now take like 10 times longer. Why would that be?

Here’s a picture of the batched requests as recorded by Vercel’s logs.

Next JS 14

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.