Timeout limit is too low for local development
- Dominant language
- JavaScript
- Stars
- 95
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
### Expected Behaviour
Accept timeout of 60000 ms in app.config.yml for runtime actions.
### Actual Behaviour
Running the app in local `aio app run --local` throws this error:
`requirement failed: duration 600000 milliseconds exceeds allowed threshold of 300000 milliseconds`
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
Add the following to a runtime action in app.config.yml:
```
limits:
timeout: 600000
```
Then execute `aio app run --local`.
#### Environment Info
```
System:
OS: macOS 13.0
CPU: (10) arm64 Apple M1 Max
Memory: 1.26 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node
Yarn: Not Found
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.0/bin/npm
Virtualization:
Docker: 24.0.2 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: Not Found
```
#### Sample Code that illustrates the problem
#### Logs taken while reproducing problem
```
ℹ Info: Deploying action [amazon-app/api-add-products]...
› Error: PUT http://localhost:3233/api/v1/namespaces/guest/actions/amazon-app/api-add-products Returned HTTP 400 (Bad Request) --> "The request content was malformed:
› requirement failed: duration 600000 milliseconds exceeds allowed threshold of 300000 milliseconds"
```
Contributor guide
Assessment
This issue has not been assessed yet.