From e49602b3351fae78890354b060dee40f9bc75340 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Sun, 17 Dec 2023 13:53:26 +1300 Subject: [PATCH] ui: help: more troubleshooting --- gossip-bin/src/ui/help/mod.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gossip-bin/src/ui/help/mod.rs b/gossip-bin/src/ui/help/mod.rs index d8af60e2c..297a47205 100644 --- a/gossip-bin/src/ui/help/mod.rs +++ b/gossip-bin/src/ui/help/mod.rs @@ -60,6 +60,18 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra }); }); + ui.add_space(10.0); + ui.heading("Gossip freezes or runs slowly at startup:"); + ui.indent("freezeatstart", |ui| { + ui.horizontal_wrapped(|ui| { + ui.label("On some combinations of storage devices and filesystems, gossip's LMDB storage may take a long time to get started. Try moving your gossip directory to a different filesyste and/or a different storage device. You can set the GOSSIP_DIR environment variable to point to your gossip directory." ); + }); + ui.horizontal_wrapped(|ui| { + ui.label(format!("Your gossip storage directory is currently {}", + app.about.storage_path)); + }); + }); + ui.add_space(10.0); ui.heading("more will be added in the future.");