Skip to content

Commit

Permalink
disable healthcheck (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
exeokan authored Sep 19, 2024
1 parent 4465ba8 commit af71dd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions crates/prover/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@ where
let max_response_body_size = self.rpc_config.max_response_body_size;
let batch_requests_limit = self.rpc_config.batch_requests_limit;

let middleware = tower::ServiceBuilder::new()
.layer(citrea_common::rpc::get_cors_layer())
.layer(citrea_common::rpc::get_healthcheck_proxy_layer());
let middleware = tower::ServiceBuilder::new().layer(citrea_common::rpc::get_cors_layer());
// .layer(citrea_common::rpc::get_healthcheck_proxy_layer());

let _handle = tokio::spawn(async move {
let server = ServerBuilder::default()
Expand Down
5 changes: 2 additions & 3 deletions crates/sequencer/src/sequencer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,8 @@ where
let max_response_body_size = self.rpc_config.max_response_body_size;
let batch_requests_limit = self.rpc_config.batch_requests_limit;

let middleware = tower::ServiceBuilder::new()
.layer(citrea_common::rpc::get_cors_layer())
.layer(citrea_common::rpc::get_healthcheck_proxy_layer());
let middleware = tower::ServiceBuilder::new().layer(citrea_common::rpc::get_cors_layer());
// .layer(citrea_common::rpc::get_healthcheck_proxy_layer());

let _handle = tokio::spawn(async move {
let server = ServerBuilder::default()
Expand Down

0 comments on commit af71dd3

Please sign in to comment.