Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for batching requests to S3 #79

Merged

Conversation

tomlagier
Copy link

@tomlagier tomlagier commented Dec 9, 2016

What Changed & Why

This is primarily useful to avoid flooding fake-s3 with network requests.

  1. Added "batchSize" configuration option, defaulted to 0
  2. Added code path to s3._putObjects to handle batching requests if batchSize option is set
  3. Added appropriate tests

Related issues

See #78

PR Checklist

  • Add tests
  • Add documentation
  • Prefix documentation-only commits with [DOC]

People

@lukemelia

@lukemelia
Copy link
Contributor

Looks good to me. Can you take a look as well @achambers?

Before we merge, it would great if you can clean up the commit history @tomlagier.

This is primarily useful to avoid flooding fake-s3 with network requests.

1) Added "batchSize" configuration option, defaulted to 0
2) Added code path to s3._putObjects to handle batching requests if batchSize option is set
3) Added appropriate tests
4) Updated the readme
@tomlagier tomlagier force-pushed the issues/78-batching-file-uploads branch from fadf290 to dd6466d Compare December 9, 2016 07:49
@tomlagier
Copy link
Author

Squashed the commits, sorry about that.

@lukemelia lukemelia merged commit 51f3d54 into ember-cli-deploy:master Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants