Skip to content

How to configure maxDuration for generated /.well-known/workflow/v1/flow route? #1483

@iNishant

Description

@iNishant

Problem

Getting Vercel Runtime Timeout Error: Task timed out after 60 seconds on /.well-known/workflow/v1/flow.

Environment

  • workflow: 4.2.0-beta.71
  • Next.js App Router, Vercel Pro, Fluid Compute enabled

What we tried

  1. vercel.json functions config:
{
  "fluid": true,
  "functions": {
    "app/.well-known/**/*": { "maxDuration": 780 }
  }
}
  1. Also changed the default function timeout to 780s in the Vercel project settings web UI — to rule out the glob pattern not matching.

Neither had any effect — the flow route still times out at 60s.

What is the recommended way to configure maxDuration for the generated internal workflow routes (flow, step, webhook)?

Suggestion

It would be great to have documentation in the Vercel World docs covering recommended options for configuring timeouts on the generated internal workflow functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions