File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- use crate :: {
2- args:: ScrollRollupNodeConfig ,
3- pprof:: PprofConfig ,
4- } ;
1+ use crate :: { args:: ScrollRollupNodeConfig , pprof:: PprofConfig } ;
52
63use reth_chainspec:: NamedChain ;
74use reth_network:: NetworkProtocols ;
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ impl PprofConfig {
109109 let io = TokioIo :: new ( stream) ;
110110
111111 tokio:: spawn ( async move {
112- let service = service_fn ( move |req| Self :: handle_request ( req, default_duration) ) ;
112+ let service =
113+ service_fn ( move |req| Self :: handle_request ( req, default_duration) ) ;
113114
114115 if let Err ( err) = http1:: Builder :: new ( ) . serve_connection ( io, service) . await {
115116 error ! ( "Error serving connection from {}: {}" , peer_addr, err) ;
You can’t perform that action at this time.
0 commit comments