mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 04:06:54 +00:00
fix: Address review comments
This commit is contained in:
1 parent
9af60bcf62
commit
f1a77e0404
9 files changed
+45
-57
No files matched your search
@@ -1246,7 +1246,7 @@ impl crate::Context<'_> {
|
||||
let backoff_map = self.services.federation.remote_health();
|
||||
|
||||
if backoff_map.is_empty() {
|
||||
return Err!("No servers in backoff.");
|
||||
return self.write_str("No servers are currently in backoff.").await;
|
||||
}
|
||||
|
||||
let stale_map = self.services.federation.stale_destinations();
|
||||
|
||||
@@ -250,6 +250,13 @@ pub enum DebugCommand {
|
||||
page: Option<usize>,
|
||||
},
|
||||
|
||||
/// Lists remote servers that are currently in a "backoff" state.
|
||||
///
|
||||
/// Servers in this list will not be contacted until the retry time elapses,
|
||||
/// or they make contact first.
|
||||
///
|
||||
/// "Stale" indicates that routing information may be out of date, and the
|
||||
/// remote will be re-resolved immediately before the next contact attempt.
|
||||
ServersInBackoff {
|
||||
#[arg(short, long, alias = "room")]
|
||||
room_id: Option<OwnedRoomId>,
|
||||
|
||||
Reference in new issue
Block a user