Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed Nov 2, 2023
1 parent 195c551 commit e452ecd
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 179 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ disable-metrics = []
web-app = ["axum", "axum-server", "base64", "clap", "comfy-table", "enable-serde", "hyper", "hyper-rustls", "rcgen", "rustls", "rustls-pemfile", "time", "tokio-rustls", "toml", "tower", "tower-http"]
test-fixture = ["enable-serde", "weak-field"]
# Include observability instruments that detect lack of progress inside MPC. If there is a bug that leads to helper
# miscommunication, this feature helps to detect it. Turning it on hurts performance a bit.
# miscommunication, this feature helps to detect it. Turning it on has some cost.
# If "shuttle" feature is enabled, turning this on has no effect.
stall-detection = []
shuttle = ["shuttle-crate", "test-fixture"]
debug-trace = ["tracing/max_level_trace", "tracing/release_max_level_debug"]
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/gateway/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub(super) use send::SendingEnd;
#[cfg(all(test, feature = "shuttle"))]
use shuttle::future as tokio;
#[cfg(feature = "stall-detection")]
pub(super) use {stall_detection::InstrumentedGateway};
pub(super) use stall_detection::InstrumentedGateway;

use crate::{
helpers::{
Expand Down
1 change: 0 additions & 1 deletion src/helpers/gateway/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pub struct SendingEnd<M: Message> {
_phantom: PhantomData<M>,
}


/// Sending channels, indexed by (role, step).
#[derive(Default, Clone)]
pub(super) struct GatewaySenders {
Expand Down
Loading

0 comments on commit e452ecd

Please sign in to comment.