Skip to content

Commit

Permalink
enable gc thread during db build
Browse files Browse the repository at this point in the history
  • Loading branch information
goatpig committed Jun 4, 2017
1 parent e729495 commit 10413ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cppForSwig/DatabaseBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Blockchain::ReorganizationState DatabaseBuilder::updateBlocksInDB(
bool fullHints)
{
//preload and prefetch
BlockDataLoader bdl(blockFiles_.folderPath(), true, true, false);
BlockDataLoader bdl(blockFiles_.folderPath(), true, true, true);

unsigned threadcount = min(bdmConfig_.threadCount_,
blockFiles_.fileCount() - topBlockOffset_.fileID_);
Expand Down

0 comments on commit 10413ba

Please sign in to comment.