Simplify channel cache update

This commit is contained in:
Dominik Werder
2023-06-06 09:10:20 +02:00
parent 0971454746
commit 9c0062d27c
2 changed files with 189 additions and 143 deletions

View File

@@ -510,6 +510,7 @@ async fn update_db_with_channel_names(
_ctx: &ReqCtx,
node_config: &NodeConfigCached,
) -> Result<Response<Body>, Error> {
info!("httpret::update_db_with_channel_names");
let (head, _body) = req.into_parts();
let _dry = match head.uri.query() {
Some(q) => q.contains("dry"),