Only keep a single debug log file, ref #1100

This commit is contained in:
5chdn 2017-08-21 15:33:31 +02:00
parent f3e7d7c725
commit 98f86d553a
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80

View File

@ -493,6 +493,7 @@ impl Database {
}
opts.set_parsed_options(&format!("max_total_wal_size={}", 64 * 1024 * 1024))?;
opts.set_parsed_options("verify_checksums_in_compaction=0")?;
opts.set_parsed_options("keep_log_file_num=1")?;
opts.set_max_open_files(config.max_open_files);
opts.create_if_missing(true);
opts.set_use_fsync(false);