release 0.5.3

This commit is contained in:
Dominik Werder
2024-10-31 12:14:46 +01:00
parent cde2e4c1a2
commit 4e1874381c
12 changed files with 32 additions and 122 deletions
+2 -4
View File
@@ -7,14 +7,13 @@ pub mod channelconfig;
pub mod download;
pub mod err;
pub mod gather;
#[cfg(DISABLED)]
#[cfg(feature = "prometheus_endpoint")]
pub mod prometheus;
pub mod proxy;
pub mod pulsemap;
pub mod requests;
pub mod settings;
use self::bodystream::ToPublicResponse;
use crate::bodystream::response;
use crate::err::Error;
use ::err::thiserror;
@@ -39,7 +38,6 @@ use netpod::query::prebinned::PreBinnedQuery;
use netpod::req_uri_to_url;
use netpod::status_board;
use netpod::status_board_init;
use netpod::Database;
use netpod::NodeConfigCached;
use netpod::ReqCtx;
use netpod::ServiceVersion;
@@ -118,7 +116,7 @@ impl ServiceSharedResources {
pub async fn host(ncc: NodeConfigCached, service_version: ServiceVersion) -> Result<(), RetrievalError> {
status_board_init();
#[cfg(DISABLED)]
#[cfg(feature = "prometheus_endpoint")]
if let Some(bind) = ncc.node.prometheus_api_bind {
tokio::spawn(prometheus::host(bind));
}