Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
3962ec08
Unverified
Commit
3962ec08
authored
6 months ago
by
yjh
Committed by
GitHub
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: export NodeHealthProxyLayer (#5768)
Co-authored-by: command-bot <>
parent
e8dad101
Branches
Branches containing commit
No related merge requests found
Pipeline
#498364
waiting for manual action with stages
in 7 minutes and 7 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
prdoc/pr_5768.prdoc
+10
-0
10 additions, 0 deletions
prdoc/pr_5768.prdoc
substrate/client/rpc-servers/src/lib.rs
+1
-2
1 addition, 2 deletions
substrate/client/rpc-servers/src/lib.rs
with
11 additions
and
2 deletions
prdoc/pr_5768.prdoc
0 → 100644
+
10
−
0
View file @
3962ec08
title: "export NodeHealthProxyLayer"
doc:
- audience: Node Dev
description: |
This PR export `NodeHealthProxyLayer` from sc-rpc-server.
crates:
- name: sc-rpc-server
bump: patch
This diff is collapsed.
Click to expand it.
substrate/client/rpc-servers/src/lib.rs
+
1
−
2
View file @
3962ec08
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment