Skip to content

Commit

Permalink
try default block size
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrobison committed Jun 18, 2021
1 parent a1cd23d commit 890caa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/wallet/server/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def open(self, name, create, lru_cache_size=None):
path = os.path.join(self.db_dir, name)
# Use snappy compression (the default)
self.db = self.module.DB(path, create_if_missing=create, max_open_files=mof, lru_cache_size=4*1024*1024*1024,
write_buffer_size=64*1024*1024, block_size=1024*1024, max_file_size=1024*1024*64,
write_buffer_size=64*1024*1024, max_file_size=1024*1024*64,
bloom_filter_bits=32)
self.close = self.db.close
self.get = self.db.get
Expand Down

0 comments on commit 890caa5

Please sign in to comment.