Skip to content

Commit

Permalink
Increase write buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv committed Jan 23, 2013
1 parent daf052d commit fbfc2ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/datalayer.cc
Expand Up @@ -95,6 +95,7 @@ datalayer :: setup(const po6::pathname& path,
po6::net::hostname* saved_coordinator)
{
leveldb::Options opts;
opts.write_buffer_size = 64ULL * 1024ULL * 1024ULL;
opts.create_if_missing = true;
opts.filter_policy = leveldb::NewBloomFilterPolicy(10);
std::string name(path.get());
Expand Down

0 comments on commit fbfc2ba

Please sign in to comment.