diff options
| author | tv <tv@krebsco.de> | 2026-10-31 05:26:27 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 05:26:27 +0100 |
| commit | 65e1b76ce1ae5e94c786b14bb97312266be7c5de (patch) | |
| tree | 2ce241d0915a73eca6029fbe76f3c37e909f2bd3 /src/simtest/remakes.rs | |
| parent | 4ba4b4d218d4f9fc49cea01381d8931619114bbc (diff) | |
simtest: unify SOON constant
Diffstat (limited to 'src/simtest/remakes.rs')
| -rw-r--r-- | src/simtest/remakes.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/simtest/remakes.rs b/src/simtest/remakes.rs index 28f3768..e4f115b 100644 --- a/src/simtest/remakes.rs +++ b/src/simtest/remakes.rs @@ -10,15 +10,13 @@ use std::time::Duration; use axum::http::StatusCode; use serde_json::{Value as JsonValue, json}; -use super::{Sim, read, write}; +use super::{SOON, Sim, read, write}; use crate::document::replica::Epoch; use crate::remake::testing; use crate::state::AppState; use crate::swarm::bootstrap::Start; use crate::transport::sim::LinkParams; -/// Joining, registering and converging. -const SOON: Duration = Duration::from_secs(10); /// A remake from proposal to every node switched, rejoins included. const REMAKE: Duration = Duration::from_secs(30); |
