collab: Track active user counts independently for each model (#16624)
This PR fixes an issue where the active user count spanned individual models. We now track the active user counts on a per-model basis. Release Notes: - N/A
This commit is contained in:
parent
f85ca387a7
commit
0229d3ccac
3 changed files with 40 additions and 22 deletions
|
@ -302,10 +302,7 @@ async fn handle_liveness_probe(
|
|||
}
|
||||
|
||||
if let Some(llm_state) = llm_state {
|
||||
llm_state
|
||||
.db
|
||||
.get_active_user_count(chrono::Utc::now())
|
||||
.await?;
|
||||
llm_state.db.list_providers().await?;
|
||||
}
|
||||
|
||||
Ok("ok".to_string())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue