cli icon indicating copy to clipboard operation
cli copied to clipboard

Make function timeout editable OR inherit from linked site

Open fool opened this issue 9 months ago • 2 comments

Which problem is this feature request solving?

Users who request an increased function timeout applied to their site or account from Netlify staff frequently expect the CLI to behave like production, but it does not by default.

Describe the solution you'd like

Perhaps a flag to specify a timeout, or automatically checking the timeout set in Netlify's system for the linked site, would be a better UX?

Pull request (optional)

  • [ ] I can submit a pull request.

fool avatar Nov 06 '23 22:11 fool

@fool has there been any motion on this? I am running into this right now, and it is creating a blockage - can't work on code that currently works in production on Netlify but fails due to the 10sec timeout in netlify dev.

platform-kit avatar Nov 21 '23 05:11 platform-kit

@platform-kit None yet. But, you can unblock yourself by editing the in stalled copy, this line specifically:

https://github.com/netlify/cli/blob/main/src/utils/dev.ts#L94

fool avatar Dec 07 '23 23:12 fool