I’m trying to execute a series of asynchronous tasks in a Vercel serverless function using waitUntil. However, it doesn’t seem to work as expected, and my function times out with the following
error: Vercel Runtime Timeout Error: Task timed out after 15 seconds
I couldn’t predict the duration of the API call, so I used the waitUntil function. It was working fine initially, but suddenly, it stopped working. Why could this be happening?