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

Add batchSize to saveAll / destroyAll #701

Merged
merged 2 commits into from
Nov 29, 2018

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Nov 29, 2018

No description provided.

@dplewis dplewis requested a review from flovilmart November 29, 2018 23:18
Copy link
Contributor

@flovilmart flovilmart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@dplewis
Copy link
Member Author

dplewis commented Nov 29, 2018

I should add it to destroyAll too

@codecov
Copy link

codecov bot commented Nov 29, 2018

Codecov Report

Merging #701 into master will decrease coverage by 0.02%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #701      +/-   ##
==========================================
- Coverage   85.77%   85.75%   -0.03%     
==========================================
  Files          48       48              
  Lines        3902     3909       +7     
  Branches      886      890       +4     
==========================================
+ Hits         3347     3352       +5     
- Misses        555      557       +2
Impacted Files Coverage Δ
src/RESTController.js 85.03% <ø> (ø) ⬆️
src/ParseObject.js 88.42% <77.77%> (-0.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2997cb...42848be. Read the comment docs.

@dplewis dplewis changed the title Add batchSize to saveAll Add batchSize to saveAll / destroyAll Nov 29, 2018
@dplewis dplewis merged commit cea20a6 into parse-community:master Nov 29, 2018
@dplewis dplewis deleted the batchsize-save branch November 29, 2018 23:37
@dplewis
Copy link
Member Author

dplewis commented Nov 29, 2018

@flovilmart Do you know why 20 was the default batchSize?

@flovilmart
Copy link
Contributor

No idea! Perhaps a sensible default, not to overload their servers

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