limit wal archive size to 1gb
Signed-off-by: morguldir <morguldir@protonmail.com>
This commit is contained in:
parent
72daf7ea68
commit
6a7fe3ab7c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ pub(crate) fn db_options(config: &Config, env: &Env, row_cache: &Cache) -> Resul
|
|||
|
||||
// Files
|
||||
opts.set_table_cache_num_shard_bits(7);
|
||||
opts.set_wal_size_limit_mb(1024 * 1024 * 1024);
|
||||
opts.set_wal_size_limit_mb(1024);
|
||||
opts.set_max_total_wal_size(1024 * 1024 * 512);
|
||||
opts.set_writable_file_max_buffer_size(1024 * 1024 * 2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue