Skip to content

Commit

Permalink
Removes health check server
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-herasme committed Jul 20, 2024
1 parent ce6d201 commit abbfdcf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 53 deletions.
4 changes: 0 additions & 4 deletions ghost-crab/src/indexer.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::block_handler::{process_logs_block, BlockConfig, BlockHandlerInstance};
use crate::handler::{HandleInstance, HandlerConfig};
use crate::process_logs::process_logs;
use crate::server::Server;
use alloy::primitives::Address;
use tokio::sync::mpsc::error::SendError;
use tokio::sync::mpsc::{self, Receiver, Sender};
Expand Down Expand Up @@ -48,9 +47,6 @@ impl Indexer {
pub fn new() -> Indexer {
let (tx, rx) = mpsc::channel::<HandlerConfig>(1);

let server = Server::new(3000);
server.start();

Indexer {
handlers: Vec::new(),
block_handlers: Vec::new(),
Expand Down
1 change: 0 additions & 1 deletion ghost-crab/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pub mod indexer;
pub mod latest_block_manager;
pub mod prelude;
pub mod process_logs;
mod server;

pub use indexer::Indexer;
pub use ghost_crab_common::config;
48 changes: 0 additions & 48 deletions ghost-crab/src/server.rs

This file was deleted.

0 comments on commit abbfdcf

Please sign in to comment.