Closed charIeszhao closed 3 months ago
Make request timeout in the useApi() hook configurable and increase custom UI assets upload request timeout to 5 mins. Since the maximum allowed zip file size is 20MB, it might cause a timeout error on some poor network conditions.
useApi()
Locally
- [ ] .changeset - [ ] unit tests - [ ] integration tests - [ ] necessary TSDoc comments
.changeset
master
Total Size Diff :chart_with_upwards_trend: +459 Bytes
Summary
Make request timeout in the
useApi()
hook configurable and increase custom UI assets upload request timeout to 5 mins. Since the maximum allowed zip file size is 20MB, it might cause a timeout error on some poor network conditions.Testing
Locally
Checklist
- [ ].changeset
- [ ] unit tests- [ ] integration tests- [ ] necessary TSDoc comments