Skip to content

Commit

Permalink
downvote relay when send unexpected response
Browse files Browse the repository at this point in the history
  • Loading branch information
sameh-farouk committed Sep 14, 2023
1 parent e23939c commit 4deaaac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/relay/federation/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ where
domain.as_ref(),
resp.status()
);
let _ = self.ranker.downvote(domain.as_ref());
continue;
}

Expand Down

0 comments on commit 4deaaac

Please sign in to comment.