FangyuanZhou

Results 4 comments of FangyuanZhou

I encountered the same issue. The upload gets stuck at 100%. I noticed that the POST request to api/attachments/notify remains in PENDING status.

我最终发现后端是卡在了notify的处理上。 通过打印日志我发现了一些端倪 增加日志的代码: ```apps/nestjs-backend/src/features/attachments/attachments.service.ts async notify(token: string, filename?: string): Promise { this.logger.log(`[PERF] Notify开始处理 - Token: ${token}`); const totalStartTime = Date.now(); const steps: {step: string; duration: number}[] = []; let stepStartTime...

我找到根因了原因了,S3 Client有一个Related Issue: S3 GetObjectCommand leaks sockets if the body is never read / add doc links for streaming responses re: socket exhaustion https://github.com/aws/aws-sdk-js-v3/issues/6691 所以这个修改是解决了这个问题。

Glad my analysis was helpful. Regarding minIO, I understand it might be a separate issue. Unfortunately, I won't have time to submit a PR this week, so I appreciate you...