Mercurial > lbo > hg > leveldb-rs
changeset 135:2dd641bded74
Bring the one long line in options.rs to < 100 chars
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Mon, 02 Jan 2017 11:31:37 +0100 |
parents | 2788dee1b457 |
children | 9db0c062d71c |
files | src/options.rs |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/options.rs Mon Jan 02 11:31:17 2017 +0100 +++ b/src/options.rs Mon Jan 02 11:31:37 2017 +0100 @@ -54,7 +54,8 @@ paranoid_checks: false, write_buffer_size: WRITE_BUFFER_SIZE, max_open_files: 1 << 10, - block_cache: Arc::new(Mutex::new(Cache::new(BLOCK_CACHE_CAPACITY / BLOCK_MAX_SIZE))), /* 2000 elements */ + // 2000 elements by default + block_cache: Arc::new(Mutex::new(Cache::new(BLOCK_CACHE_CAPACITY / BLOCK_MAX_SIZE))), block_size: BLOCK_MAX_SIZE, block_restart_interval: 16, reuse_logs: false,