mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
add a way to avoid blocking queueHealTask() depending on caller (#16433)
This commit is contained in:
1 parent
d98116559b
commit
d08e3cc895
3 files changed
+30
-10
No files matched your search
@@ -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