21126: Move BlobDeleteConcurrency==0 check up in the stack.
[arvados.git] / services / keepstore / unix_volume.go
index a08b7de01a8f4a8480d34bd8c6d305bb2400c0d9..8c935dcddb249eb508450d17c1921ca6717ee931 100644 (file)
@@ -647,10 +647,6 @@ var unixTrashLocRegexp = regexp.MustCompile(`/([0-9a-f]{32})\.trash\.(\d+)$`)
 // EmptyTrash walks hierarchy looking for {hash}.trash.*
 // and deletes those with deadline < now.
 func (v *UnixVolume) EmptyTrash() {
-       if v.cluster.Collections.BlobDeleteConcurrency < 1 {
-               return
-       }
-
        var bytesDeleted, bytesInTrash int64
        var blocksDeleted, blocksInTrash int64