improvement: delete old rocksdb LOG files

merge-requests/594/head
Timo Kösters 4 months ago
parent 99ab234f40
commit 62dda7a43f
No known key found for this signature in database
GPG Key ID: 0B25E636FBA7E4CB

@ -49,6 +49,9 @@ fn db_options(max_open_files: i32, rocksdb_cache: &rocksdb::Cache) -> rocksdb::O
db_opts.set_max_background_jobs(6);
db_opts.set_bytes_per_sync(1048576);
// https://github.com/facebook/rocksdb/issues/849
db_opts.set_keep_log_file_num(100);
// https://github.com/facebook/rocksdb/wiki/WAL-Recovery-Modes#ktoleratecorruptedtailrecords
//
// Unclean shutdowns of a Matrix homeserver are likely to be fine when

Loading…
Cancel
Save