ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix infinite loop with S3 pagination
Chocobozzzeef99811d611
diff --git a/server/core/lib/object-storage/object-storage-helpers.ts b/server/core/lib/object-storage/object-storage-helpers.tsindex 62e46fab73..0a0ef1f5f3 100644--- a/server/core/lib/object-storage/object-storage-helpers.ts+++ b/server/core/lib/object-storage/object-storage-helpers.ts@@ -406,7 +406,7 @@ async function applyOnPrefix (options: {// Repeat if not all objects could be listed at once (limit of 1000?)if (listedObjects.IsTruncated) {- await applyOnPrefix({ ...options, continuationToken: listedObjects.ContinuationToken })+ await applyOnPrefix({ ...options, continuationToken: listedObjects.NextContinuationToken })}}