Skip to content

Vite Plugin Does Not Override Lambda Timeout #321

@krhoyt

Description

@krhoyt

Not sure where in the Netlify ecosystem this should be noted, so I am putting it down as a Vite plugin issue.

Using @netlify/vite-plugin does not override the Lambda three second function timeout to the Netlify ten second default. Functions requiring more than three seconds will timeout. The error message occurs in lambda-local. I fixed this locally by editing the timeout in "node_modules/lambda-local/build/lib.context.js" (line 114) to 10000 (ten seconds).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions