Skip to content

Commit

Permalink
Merge pull request #10 from trailbehind/journal_mode
Browse files Browse the repository at this point in the history
Use journal_mode=OFF
  • Loading branch information
Jesse Crocker committed Apr 30, 2019
2 parents 1e45beb + 0c61ba7 commit c3f12f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ async.eachSeries(

new mbtiles(outputPath, function(err, tiles) {
if (err) throw err;
merge(tiles, inputTiles, verbose, maxzoom);
tiles._db.run('PRAGMA journal_mode=OFF', function(){
merge(tiles, inputTiles, verbose, maxzoom);
});
});
}
);
Expand Down

0 comments on commit c3f12f0

Please sign in to comment.