mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 07:48:57 +00:00
Warn when few relays respond
This commit is contained in:
@@ -1092,8 +1092,8 @@ class PasswordManager:
|
|||||||
healthy = self.nostr_client.check_relay_health(MIN_HEALTHY_RELAYS)
|
healthy = self.nostr_client.check_relay_health(MIN_HEALTHY_RELAYS)
|
||||||
if healthy < MIN_HEALTHY_RELAYS:
|
if healthy < MIN_HEALTHY_RELAYS:
|
||||||
self.notify(
|
self.notify(
|
||||||
f"Only {healthy} relay(s) responded with your latest event."
|
f"Only {healthy} relay(s) responded with your latest event. "
|
||||||
" Consider adding more relays via Settings.",
|
"Consider adding more relays via Settings.",
|
||||||
level="WARNING",
|
level="WARNING",
|
||||||
)
|
)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
Reference in New Issue
Block a user