mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
add a way to avoid blocking queueHealTask() depending on caller (#16433)
This commit is contained in:
@@ -449,6 +449,7 @@ func healObject(bucket, object, versionID string, scan madmin.HealScanMode) {
|
||||
bucket: bucket,
|
||||
object: object,
|
||||
versionID: versionID,
|
||||
noWait: true, // do not block callers.
|
||||
opts: &madmin.HealOpts{
|
||||
Remove: healDeleteDangling, // if found dangling purge it.
|
||||
ScanMode: scan,
|
||||
|
||||
Reference in New Issue
Block a user