New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
上传大文件超时问题如何解决? || How to solve the timeout problem of uploading large files? #1723
Comments
试过这中间件设置超时时间 @uswitch/koa-timeout 报错:TypeError: timeout is not a function |
const instance = new Application({ instance.use(timeout(1000)); |
@uswitch/koa-timeout 问题是这个中间件没有配置options的地方,超时参数该怎么设置呢?
module.exports = [ |
DESC
ENV
OS Platform:windows 11
Node.js Version: Node.js 16
ThinkJS Version: 3.2.13
code
// your code here
error message
more description
// your detail description
如题,上传大文件时,比如1G的,本地测试上传2分多钟后就停止响应了
DESC
ENV
OS Platform:windows 11
Node.js Version: Node.js 16
ThinkJS Version: 3.2.13
code
// your code here
error message
more description
// your detail description
As mentioned, when uploading large files, such as 1G, the local test upload stopped responding after more than 2 minutes.
The text was updated successfully, but these errors were encountered: