Write bins, support config reload

This commit is contained in:
Dominik Werder
2024-10-10 12:27:34 +02:00
parent d4b8beaa82
commit 87e6dfdcaa
16 changed files with 938 additions and 226 deletions
+5
View File
@@ -255,11 +255,16 @@ async fn channel_states_try(
ChannelState::connecting_addr(st1.config, None, ConnectionState::Unreachable);
states.channels.insert(k, chst);
}
WithStatusSeriesIdStateInner::UnassigningForConfigChange(_) => {
let chst = ChannelState::connecting_addr(st1.config, None, ConnectionState::Connecting);
states.channels.insert(k, chst);
}
}
}
}
}
ChannelStateValue::ToRemove { .. } => {}
ChannelStateValue::InitDummy { .. } => {}
}
}
Ok(axum::Json(states))