Run on cryo

This commit is contained in:
Dominik Werder
2022-12-20 16:36:42 +01:00
parent 646ec38b3c
commit 3ded7c6136
6 changed files with 185 additions and 170 deletions

View File

@@ -15,7 +15,7 @@ use tracing::Instrument;
use url::Url;
async fn binned_json(url: Url, req: Request<Body>, node_config: &NodeConfigCached) -> Result<Response<Body>, Error> {
info!("httpret plain_events_json req: {:?}", req);
debug!("httpret plain_events_json req: {:?}", req);
let (_head, _body) = req.into_parts();
let query = BinnedQuery::from_url(&url).map_err(|e| {
let msg = format!("can not parse query: {}", e.msg());
@@ -46,7 +46,6 @@ async fn binned_json(url: Url, req: Request<Body>, node_config: &NodeConfigCache
}
async fn binned(req: Request<Body>, node_config: &NodeConfigCached) -> Result<Response<Body>, Error> {
info!("req: {:?}", req);
let accept = req
.headers()
.get(http::header::ACCEPT)