mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
heal: calculate the number of workers based on NRRequests (#17945)
This commit is contained in:
@@ -98,6 +98,7 @@ func GetInfo(path string, firstTime bool) (info Info, err error) {
|
||||
}
|
||||
}
|
||||
if err == nil {
|
||||
info.NRRequests = qst.NRRequests
|
||||
rot := qst.Rotational == 1 // Rotational is '1' if the device is HDD
|
||||
info.Rotational = &rot
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user