mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-23 19:15:31 +08:00
Remove commented code
This commit is contained in:
parent
434fad5327
commit
245a55722a
@ -92,13 +92,6 @@ pub struct ChannelCongestion {
|
|||||||
|
|
||||||
impl ChannelCongestion {
|
impl ChannelCongestion {
|
||||||
pub fn congestion_ratio(&self) -> f32 {
|
pub fn congestion_ratio(&self) -> f32 {
|
||||||
// tracing::debug!(
|
|
||||||
// "Channel congestion metrics - \
|
|
||||||
// Attempts: {direct_attempts}, \
|
|
||||||
// Blocked attempts: {blocking_attempts} \
|
|
||||||
// ({congestion_pct:.1}% congestion)"
|
|
||||||
// );
|
|
||||||
|
|
||||||
self.blocking_attempts as f32 / self.attempts as f32
|
self.blocking_attempts as f32 / self.attempts as f32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user