首页布局优化前

This commit is contained in:
iven
2026-03-17 23:26:16 +08:00
parent 74dbf42644
commit e262200f1e
89 changed files with 2266 additions and 2120 deletions

View File

@@ -166,6 +166,9 @@ impl SessionManager {
sessions.values().cloned().collect()
}
/// Get the number of active sessions
/// Reserved for future status dashboard
#[allow(dead_code)]
pub async fn session_count(&self) -> usize {
let sessions = self.sessions.read().await;
sessions.len()