Skip to content

Commit

Permalink
Revert "spawn statement executor"
Browse files Browse the repository at this point in the history
This reverts commit 65f2b8d.
  • Loading branch information
ukint-vs committed Oct 18, 2024
1 parent 2733973 commit 12cd853
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,26 +605,6 @@ where
);
}

// Spawn statement protocol worker
let statement_protocol_executor = {
let spawn_handle = task_manager.spawn_handle();
Box::new(move |fut| {
spawn_handle.spawn("network-statement-validator", Some("networking"), fut);
})
};
let statement_handler = statement_handler_proto.build(
network.clone(),
sync_service.clone(),
statement_store.clone(),
prometheus_registry.as_ref(),
statement_protocol_executor,
)?;
task_manager.spawn_handle().spawn(
"network-statement-handler",
Some("networking"),
statement_handler.run(),
);

if enable_offchain_worker {
task_manager.spawn_handle().spawn(
"offchain-workers-runner",
Expand Down

0 comments on commit 12cd853

Please sign in to comment.