Skip to content

Commit

Permalink
increase speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Jun 29, 2016
1 parent a02659b commit 197c9e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "census-boundaries",
"version": "1.0.2",
"version": "1.0.3",
"description": "Downloads and converts US Census TIGER data representing all boundaries in the United States",
"main": "dist/index.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function processFilePath(context, file, cb) {
srcStream.once('end', () => {
const docs = JSON.parse(Buffer.concat(chunks)).features
debug(` -- ${chalk.cyan(`Parsed ${file.path}, inserting ${docs.length} boundaries now...`)}`)
async.forEachSeries(docs, context.onBoundary.bind(null, file.type), cb)
async.forEach(docs, context.onBoundary.bind(null, file.type), cb)
})

stream.resume()
Expand Down

0 comments on commit 197c9e4

Please sign in to comment.