-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(portal-web): 修复目录下文件过多时 touch -a 会导致 500 报错的问题 (#1103)
当目录下文件过多且文件size过大时,会报500的错误: err:{"type":"Error","message":"read ECONNRESET","stack":"Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)","errno":-104,"code":"ECONNRESET","syscall":"read","level":"client-socket"},"msg":"Error occurred. Return the error." 处理方式为,将 touch 改为分批异步处理 待优化:优化跨集群传输代码,在仅有需要时才 touch
- Loading branch information
1 parent
3242957
commit 941340a
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scow/portal-server": patch | ||
--- | ||
|
||
修复目录文件过多时导致的 touch 命令报错 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters