Private
Public Access
1
0

Fix clippy compilation errors: restore required imports, prefix unused variables
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 11s
CI/CD Pipeline / Clippy Lints (push) Failing after 5m34s
CI/CD Pipeline / Unit Tests (push) Successful in 11m4s
CI/CD Pipeline / Security Audit (push) Successful in 1m46s
CI/CD Pipeline / Build Debian Package (push) Failing after 1s
CI/CD Pipeline / Build RPM Package (push) Failing after 1s
CI/CD Pipeline / Build Alpine Package (push) Failing after 2s
CI/CD Pipeline / Build Arch Package (push) Failing after 2s
CI/CD Pipeline / Create Release (push) Has been skipped

This commit is contained in:
2026-04-12 15:52:08 +00:00
parent f5a0ce71cb
commit 8ffe2068d7
7 changed files with 15 additions and 11 deletions

View File

@ -66,7 +66,7 @@ impl WsServerMessage {
/// Returns upgrade response for WebSocket handshake
pub async fn websocket_handler(
req: HttpRequest,
job_manager: web::Data<JobManager>,
_job_manager: web::Data<JobManager>,
) -> Result<HttpResponse, Error> {
let ws_id = Uuid::new_v4();
info!(ws_id = %ws_id, "WebSocket connection request");
@ -121,7 +121,7 @@ pub async fn broadcast_job_update(
job_id: &Uuid,
status: &crate::jobs::manager::JobStatus,
progress: u8,
message: &str,
_message: &str,
) {
info!(job_id = %job_id, status = ?status, progress = progress, "Job status update available for broadcast");
// In production, would use a broadcast channel to notify all subscribed WebSocket clients