]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Keep s3 commands simple
authorChocobozzz <me@florianbigard.com>
Fri, 28 Jul 2023 14:21:15 +0000 (16:21 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 28 Jul 2023 14:21:15 +0000 (16:21 +0200)
As s3 implementation between s3 providers can be different

server/lib/object-storage/shared/object-storage-helpers.ts

index 861c490d79b2b11df88c232d8f2a2cca92c1c85a..0d8878bd2bf15fb17a320da99980069ede0e07d1 100644 (file)
@@ -145,8 +145,6 @@ function removeObjectByFullKey (fullKey: string, bucketInfo: BucketInfo) {
 }
 
 async function removePrefix (prefix: string, bucketInfo: BucketInfo) {
-  // FIXME: use bulk delete when s3ninja will support this operation
-
   logger.debug('Removing prefix %s in bucket %s', prefix, bucketInfo.BUCKET_NAME, lTags())
 
   return applyOnPrefix({