mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
http and ws: fix build errors with --no-default-features
This commit is contained in:
parent
acabf1581f
commit
964636db7c
4 changed files with 16 additions and 7 deletions
|
|
@ -240,14 +240,14 @@ async fn clean_connections(
|
|||
}
|
||||
});
|
||||
|
||||
::log::info!(
|
||||
"cleaned connections in worker {}, {} references remaining",
|
||||
WORKER_INDEX.get(),
|
||||
connection_slab.borrow_mut().len()
|
||||
);
|
||||
|
||||
#[cfg(feature = "metrics")]
|
||||
{
|
||||
::log::info!(
|
||||
"cleaned connections in worker {}, {} references remaining",
|
||||
WORKER_INDEX.get(),
|
||||
connection_slab.borrow_mut().len()
|
||||
);
|
||||
|
||||
// Increment gauges by zero to prevent them from being removed due to
|
||||
// idleness
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue