Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Jan 28, 2025
1 parent caf2ac4 commit 9a030e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend-rust/src/bin/ccdscan-api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async fn main() -> anyhow::Result<()> {
let (subscription, subscription_listener) =
graphql_api::Subscription::new(cli.database_retry_delay_secs);
let (block_sender, block_receiver) = tokio::sync::watch::channel(None);
let test = block_receiver.clone();
let block_receiver_health = block_receiver.clone();
let mut pgnotify_listener = {
let pool = pool.clone();
let stop_signal = cancel_token.child_token();
Expand Down Expand Up @@ -163,7 +163,7 @@ async fn main() -> anyhow::Result<()> {
let mut monitoring_task = {
let state = HealthState {
pool,
node_status_receiver: test,
node_status_receiver: block_receiver_health,
};
let health_routes =
axum::Router::new().route("/", axum::routing::get(health)).with_state(state);
Expand Down

0 comments on commit 9a030e5

Please sign in to comment.