Describe how to shrink the LMDB files in the prune help.

This commit is contained in:
Mike Dilger 2023-07-31 17:49:26 +12:00
parent 53130bb83b
commit 3f89799630

View File

@ -290,7 +290,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
ui.add_space(12.0); ui.add_space(12.0);
if ui.button("Prune Database") if ui.button("Prune Database")
.on_hover_text("This will delete events older than six months.") .on_hover_text("This will delete events older than six months, but the LMDB files will continue consuming disk space. To compact them, copy withem with `mdb_copy -c` when gossip is not running.")
.clicked() { .clicked() {
GLOBALS.status_queue.write().write( GLOBALS.status_queue.write().write(
"Pruning database, please wait (this takes a long time)...".to_owned() "Pruning database, please wait (this takes a long time)...".to_owned()