steadyequipment / node-firestore-backup

Google Firebase Firestore backup tool
190 stars 51 forks source link

Add --requestCountLimit in basic example #42

Open BrodaNoel opened 6 years ago

BrodaNoel commented 6 years ago

Why I'm doing this PR?

Most of time (just a User Experience revelation) users only use the first "basic example" shown in the README file. For example: Me.

All my backups took more than 5 hours only because I never saw the --requestCountLimit documentation. Maybe there are more folks like me there in the wild internet. Let's help them :)

yoiang commented 5 years ago

Sorry for the late reply! It's unclear why --requestCountLimit should be a recommended usage, can you elaborate?

BrodaNoel commented 3 years ago

Because without that, it download 1 file at a time. If you have 1.000.000 documents, and if you are 50.000 kilometers away EEUU, it took forever to download them. With this value, the download becomes async, and it finish in 3 minutes, rather than 3 days