cleanup code

This commit is contained in:
csehviktor
2025-07-08 14:48:22 +02:00
parent cf92638739
commit 566b56962f
4 changed files with 20 additions and 21 deletions
+2 -3
View File
@@ -29,9 +29,8 @@ impl MqttSubscriber {
self.clients.broadcast(&payload).await;
if let Err(e) = self.storage.record_message(&payload.agent).await {
eprintln!("failed to record message for {}: {}", &payload.agent, e);
}
if let Err(e) = self.storage.record_uptime(&payload.agent).await {
eprintln!("failed to record uptime for {}: {}", &payload.agent, e);
}
}
}