File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,5 +51,5 @@ LABEL org.opencontainers.image.created=$CREATED \
5151
5252# Expose RPC port
5353EXPOSE 57291
54- # Miden node does not spawn sub-processes, so it can be used as the PID1
55- CMD miden-node
54+ # Miden node does not spawn sub-processes, so it can be used as the PID1.
55+ CMD [ " miden-node" ]
Original file line number Diff line number Diff line change 11use std:: num:: NonZeroUsize ;
22
33use anyhow:: Context ;
4- use miden_node_utils:: clap:: GrpcOptionsInternal ;
54use miden_node_utils:: cors:: cors_for_grpc_web_layer;
65use miden_node_utils:: panic:: catch_panic_layer_fn;
76use miden_node_utils:: tracing:: grpc:: grpc_trace_fn;
@@ -83,11 +82,9 @@ impl Server {
8382 // Mark the service as serving
8483 health_reporter. set_serving :: < ApiServer < ProverService > > ( ) . await ;
8584
86- let grpc_options = GrpcOptionsInternal :: default ( ) ;
87-
8885 let server = tonic:: transport:: Server :: builder ( )
8986 . accept_http1 ( true )
90- . timeout ( grpc_options . request_timeout )
87+ . timeout ( self . timeout )
9188 . layer ( CatchPanicLayer :: custom ( catch_panic_layer_fn) )
9289 . layer ( TraceLayer :: new_for_grpc ( ) . make_span_with ( grpc_trace_fn) )
9390 . layer ( cors_for_grpc_web_layer ( ) )
You can’t perform that action at this time.
0 commit comments