21126: Move BlobDeleteConcurrency==0 check up in the stack.
[arvados.git] / services / keepstore / s3aws_volume.go
index 8f2c27539109fbac45b844ac31281d9b4c3a76cd..aaec02721b47affd71f274a7d00bd3eee8ad0de3 100644 (file)
@@ -295,10 +295,6 @@ func (v *S3AWSVolume) Compare(ctx context.Context, loc string, expect []byte) er
 // EmptyTrash looks for trashed blocks that exceeded BlobTrashLifetime
 // and deletes them from the volume.
 func (v *S3AWSVolume) EmptyTrash() {
-       if v.cluster.Collections.BlobDeleteConcurrency < 1 {
-               return
-       }
-
        var bytesInTrash, blocksInTrash, bytesDeleted, blocksDeleted int64
 
        // Define "ready to delete" as "...when EmptyTrash started".