From 3f89799630d6df41d50635011cf7afd78404c5ba Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Mon, 31 Jul 2023 17:49:26 +1200 Subject: [PATCH] Describe how to shrink the LMDB files in the prune help. --- src/ui/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/settings.rs b/src/ui/settings.rs index 109f360d..38961870 100644 --- a/src/ui/settings.rs +++ b/src/ui/settings.rs @@ -290,7 +290,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra ui.add_space(12.0); 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() { GLOBALS.status_queue.write().write( "Pruning database, please wait (this takes a long time)...".to_owned()