Skip to content

Commit

Permalink
Update nft-storage.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevick10 authored Dec 18, 2024
1 parent e374026 commit 125aa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auction-house/cli/src/helpers/upload/nft-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function* nftStorageUploadGenerator({
}): AsyncGenerator<NftStorageBundleUploadResult> {
// split asset keys into batches, each of which will be bundled into a CAR file and uploaded separately
// default to 50 NFTs per "batch" if no batchSize is given.
// larger batches require fewer signatures and will be slightly faster overall if everything is sucessful,
// larger batches require fewer signatures and will be slightly faster overall if everything is successful,
// but smaller batches will take less time to retry if there's an error during upload.
batchSize = batchSize || 50;
batchSize = Math.min(batchSize, NFTBundle.MAX_ENTRIES);
Expand Down

0 comments on commit 125aa1a

Please sign in to comment.