Skip to content
Snippets Groups Projects
Unverified Commit 3962ec08 authored by yjh's avatar yjh Committed by GitHub
Browse files

chore: export NodeHealthProxyLayer (#5768)

Co-authored-by: command-bot <>
parent e8dad101
Branches
No related merge requests found
Pipeline #498364 waiting for manual action with stages
in 7 minutes and 7 seconds
title: "export NodeHealthProxyLayer"
doc:
- audience: Node Dev
description: |
This PR export `NodeHealthProxyLayer` from sc-rpc-server.
crates:
- name: sc-rpc-server
bump: patch
......@@ -32,7 +32,6 @@ use jsonrpsee::{
},
Methods, RpcModule,
};
use middleware::NodeHealthProxyLayer;
use tower::Service;
use utils::{
build_rpc_api, deny_unsafe, format_listen_addrs, get_proxy_ip, ListenAddrError, RpcSettings,
......@@ -43,7 +42,7 @@ pub use jsonrpsee::{
core::id_providers::{RandomIntegerIdProvider, RandomStringIdProvider},
server::{middleware::rpc::RpcServiceBuilder, BatchRequestConfig},
};
pub use middleware::{Metrics, MiddlewareLayer, RpcMetrics};
pub use middleware::{Metrics, MiddlewareLayer, NodeHealthProxyLayer, RpcMetrics};
pub use utils::{RpcEndpoint, RpcMethods};
const MEGABYTE: u32 = 1024 * 1024;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment