mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
add crash protection from backend modifications (#16846)
This commit is contained in:
1 parent
3b5dbf9046
commit
6c11dbffd5
6 files changed
+61
-29
No files matched your search
@@ -1222,7 +1222,6 @@ func (j *BatchJobPool) canceler(jobID string, cancel bool) error {
|
||||
if canceler, ok := j.jobCancelers[jobID]; ok {
|
||||
if cancel {
|
||||
canceler()
|
||||
|
||||
}
|
||||
}
|
||||
delete(j.jobCancelers, jobID)
|
||||
|
||||
Reference in new issue
Block a user