Skip to content

Commit

Permalink
Ensure heartbeat has enough time to start (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielle-tfh authored Sep 27, 2024
1 parent 3b1a7e4 commit 1c0567f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/stage/common-values-iris-mpc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: "ghcr.io/worldcoin/iris-mpc:v0.8.15"
image: "ghcr.io/worldcoin/iris-mpc:v0.8.16"

environment: stage
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion iris-mpc-gpu/src/server/heartbeat_nccl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub async fn start_heartbeat(
}
});

let mut timeout_interval = 2
let mut timeout_interval = 10
* NCCL_START_WAIT_TIME
* (NCCL_START_RETRIES - 1).try_into()?
* DeviceManager::init().device_count().try_into()?;
Expand Down
1 change: 0 additions & 1 deletion iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ async fn server_main(config: Config) -> eyre::Result<()> {
tracing::info!("Preparing task monitor");
let mut background_tasks = TaskMonitor::new();

// DEBUG: disable heartbeat
let (tx, rx) = oneshot::channel();
let _heartbeat = background_tasks.spawn(start_heartbeat(config.party_id, tx));

Expand Down

0 comments on commit 1c0567f

Please sign in to comment.