Skip to content

Commit

Permalink
abyss-sealer: show Bloom filter loading progress when verbose >= 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Vandervalk committed Oct 24, 2018
1 parent d53ce33 commit 4811239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sealer/sealer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1055,10 +1055,10 @@ int main(int argc, char** argv)
#ifdef _OPENMP
ConcurrentBloomFilter<CascadingBloomFilter> cbf(*cascadingBloom, 1000);
for (int i = optind; i < argc; i++)
Bloom::loadFile(cbf, opt::k, argv[i], 0 /*opt::verbose*/);
Bloom::loadFile(cbf, opt::k, argv[i], opt::verbose >= 2);
#else
for (int i = optind; i < argc; i++)
Bloom::loadFile(*cascadingBloom, opt::k, argv[i], 0 /* opt::verbose*/);
Bloom::loadFile(*cascadingBloom, opt::k, argv[i], opt::verbose >= 2);
#endif
bloom = &cascadingBloom->getBloomFilter(opt::max_count - 1);
}
Expand Down

0 comments on commit 4811239

Please sign in to comment.