Skip to content

Commit

Permalink
Limit fetch to 100 records
Browse files Browse the repository at this point in the history
  • Loading branch information
raubin committed Jan 25, 2021
1 parent cdf05a0 commit ea40cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = async ({
headers: { 'Accept-Encoding': 'gzip, deflate' },
}
let objects = []
const limit = 1000
const limit = 100
let skip = 0
console.time(timeLabel)
console.log(`Starting to fetch data from Cosmic JS (${objectType})`)
Expand Down

0 comments on commit ea40cee

Please sign in to comment.