fix(client/files): retry when too many open fds
This commit is contained in:
parent
1d727b4416
commit
146af5af0a
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ function translateResp(resp: Response<any>): Response<any> {
|
|||
(resp.data.error != null &&
|
||||
!resp.data.error.includes("fail to lock the file") &&
|
||||
!resp.data.error.includes("offset != uploaded") &&
|
||||
!resp.data.error.includes("i/o timeout"))
|
||||
!resp.data.error.includes("i/o timeout") &&
|
||||
!resp.data.error.includes("too many opened files"))
|
||||
) {
|
||||
return FatalErrResp(resp.statusText);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue