updates telemetry to no longer use grpc
This commit is contained in:
@@ -135,11 +135,14 @@ impl CommandService for CoreCommandService {
|
||||
}
|
||||
}
|
||||
for (key, sender) in in_progress.drain() {
|
||||
if sender.send(CommandResponse {
|
||||
uuid: Some(Uuid::from(key)),
|
||||
success: false,
|
||||
response: "Command Handler Shut Down".to_string(),
|
||||
}).is_err() {
|
||||
if sender
|
||||
.send(CommandResponse {
|
||||
uuid: Some(Uuid::from(key)),
|
||||
success: false,
|
||||
response: "Command Handler Shut Down".to_string(),
|
||||
})
|
||||
.is_err()
|
||||
{
|
||||
error!("Failed to send command response on shutdown");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user