Skip to content

Commit

Permalink
add dummy handler for MessageFromDrone variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Cherath committed Jan 9, 2024
1 parent 930e974 commit 78766c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plane/src/controller/drone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ pub async fn handle_message_from_drone(
sender: &mut TypedSocket<MessageToDrone>,
) -> anyhow::Result<()> {
match msg {
MessageFromDrone::BackendMetrics(_) => {
//TODO: Forward backend metrics to postgres pub/sub here.
}
MessageFromDrone::Heartbeat(Heartbeat { local_time }) => {
controller
.db
Expand Down

0 comments on commit 78766c6

Please sign in to comment.