Edge Functions Maximum Run-time

Hi! How long can an edge function run for before timing out?

Perhaps related, when would you recommend an edge function vs the regular serverless functions?

Short answer: 50ms

You can learn more about the execution limits here: Edge Functions limits | Netlify Docs

We have a list of use cases for Edge Functions here as well: Edge Functions overview | Netlify Docs