mirror of
https://github.com/pgsty/minio.git
synced 2026-10-09 03:05:59 +03:00
Show SlowDown error message if backend is busy (#7521)
or if there are too many open file descriptors.
This commit is contained in:
@@ -206,6 +206,9 @@ func osErrToFSFileErr(err error) error {
|
||||
if isSysErrPathNotFound(err) {
|
||||
return errFileNotFound
|
||||
}
|
||||
if isSysErrTooManyFiles(err) {
|
||||
return errTooManyOpenFiles
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user