Skip to content

Commit

Permalink
update tolerances again
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Dec 13, 2023
1 parent f4a2d3f commit 757e352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/hotshot/src/traits/networking/libp2p_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ impl<M: NetworkMsg, K: SignatureKey + 'static> Libp2pNetwork<M, K> {
is_ready: Arc::new(AtomicBool::new(false)),
// This is optimal for 10-30 nodes. TODO: parameterize this for both tests and examples
// https://github.com/EspressoSystems/HotShot/issues/2088
dht_timeout: Duration::from_secs(4),
dht_timeout: Duration::from_secs(5),
is_bootstrapped: Arc::new(AtomicBool::new(false)),
metrics,
topic_map,
Expand Down
2 changes: 1 addition & 1 deletion crates/testing/tests/timeout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async fn test_timeout_libp2p() {
async_compatibility_layer::logging::setup_logging();
async_compatibility_layer::logging::setup_backtrace();
let timing_data = TimingData {
next_view_timeout: 5000,
next_view_timeout: 7000,
start_delay: 4000,
round_start_delay: 5000,
..Default::default()
Expand Down

0 comments on commit 757e352

Please sign in to comment.