forked from LBRYCommunity/lbry-sdk
try default block size
This commit is contained in:
parent
34502752fc
commit
458f8533c4
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class LevelDB(Storage):
|
||||||
path = os.path.join(self.db_dir, name)
|
path = os.path.join(self.db_dir, name)
|
||||||
# Use snappy compression (the default)
|
# 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,
|
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)
|
bloom_filter_bits=32)
|
||||||
self.close = self.db.close
|
self.close = self.db.close
|
||||||
self.get = self.db.get
|
self.get = self.db.get
|
||||||
|
|
Loading…
Reference in a new issue